ErrorCode

class safir.uws.ErrorCode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: StrEnum

Possible error codes in text/plain responses.

The following list of errors is taken from the SODA specification and therefore may not be appropriate for all DALI services.

Attributes Summary

AUTHENTICATION_ERROR

AUTHORIZATION_ERROR

ERROR

MULTIVALUED_PARAM_NOT_SUPPORTED

SERVICE_UNAVAILABLE

USAGE_ERROR

Attributes Documentation

AUTHENTICATION_ERROR = 'AuthenticationError'
AUTHORIZATION_ERROR = 'AuthorizationError'
ERROR = 'Error'
MULTIVALUED_PARAM_NOT_SUPPORTED = 'MultiValuedParamNotSupported'
SERVICE_UNAVAILABLE = 'ServiceUnavailable'
USAGE_ERROR = 'UsageError'