diff options
Diffstat (limited to 'src/errors.js')
-rw-r--r-- | src/errors.js | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/errors.js b/src/errors.js new file mode 100644 index 0000000..225f4a5 --- /dev/null +++ b/src/errors.js @@ -0,0 +1,55 @@ +import EncryptionNotEnabledError from "./Exception/Encryption/EncryptionNotEnabledError"; +import InvalidEncryptedTextLength from "./Exception/Encryption/InvalidEncryptedTextLength"; +import InvalidObjectTypeError from "./Exception/Encryption/InvalidObjectTypeError"; +import MissingEncryptionKeyError from "./Exception/Encryption/MissingEncryptionKeyError"; +import UnsupportedEncryptionTypeError from "./Exception/Encryption/UnsupportedEncryptionTypeError"; +import BadGatewayError from "./Exception/Http/BadGatewayError"; +import BadRequestError from "./Exception/Http/BadRequestError"; +import ForbiddenError from "./Exception/Http/ForbiddenError"; +import GatewayTimeoutError from "./Exception/Http/GatewayTimeoutError"; +import HttpError from "./Exception/Http/HttpError"; +import InternalServerError from "./Exception/Http/InternalServerError"; +import MethodNotAllowedError from "./Exception/Http/MethodNotAllowedError"; +import NotFoundError from "./Exception/Http/NotFoundError"; +import ServiceUnavailableError from "./Exception/Http/ServiceUnavailableError"; +import TooManyRequestsError from "./Exception/Http/TooManyRequestsError"; +import UnauthorizedError from "./Exception/Http/UnauthorizedError"; +import InvalidLink from "./Exception/PassLink/InvalidLink"; +import UnknownAction from "./Exception/PassLink/UnknownAction"; +import ChallengeTypeNotSupported from "./Exception/ChallengeTypeNotSupported"; +import ConfigurationError from "./Exception/ConfigruationError"; +import InvalidScopeError from "./Exception/InvalidScopeError"; +import NetworkError from "./Exception/NetworkError"; +import ResponseContentTypeError from "./Exception/ResponseContentTypeError"; +import ResponseDecodingError from "./Exception/ResponseDecodingError"; +import TokenTypeNotSupported from "./Exception/TokenTypeNotSupported"; +import UnknownPropertyError from "./Exception/UnknownPropertyError"; + +export { + EncryptionNotEnabledError, + InvalidEncryptedTextLength, + InvalidObjectTypeError, + MissingEncryptionKeyError, + UnsupportedEncryptionTypeError, + BadGatewayError, + BadRequestError, + ForbiddenError, + GatewayTimeoutError, + HttpError, + InternalServerError, + MethodNotAllowedError, + NotFoundError, + ServiceUnavailableError, + TooManyRequestsError, + UnauthorizedError, + InvalidLink, + UnknownAction, + ChallengeTypeNotSupported, + ConfigurationError, + InvalidScopeError, + NetworkError, + ResponseContentTypeError, + ResponseDecodingError, + TokenTypeNotSupported, + UnknownPropertyError +};
\ No newline at end of file |