You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new httpGatewayTimeoutInterceptor http interceptor function, which is used for intercepting http responses and handling 504 statuses
new httpServerErrorInterceptor http interceptor function, which is used for handling http server errors with codes 500..599 and displaying of internal server error
new noConnectionInterceptor http interceptor function, which is used for intercepting http responses and handling 0 statuses
new serviceUnavailableInterceptor http interceptor function, which is used for intercepting http responses and handling 503 statuses
new CatchHttpClientErrorHttpStatusCodeOptions interface, which represents options for cattch http client errors specific for http status code
properties
behavior behavior of catch http client error, default is CatchHttpClientErrorBehavior.Suppress
skipErrorNotifications indication whether skip displaying of notifications for errors
skipServerValidationErrors indication whether skip server validation errors processing
forceCustomMessageDisplay indication whether forcibly display custom message if present, not only as fallback but always
message object storing default messages to be displayed for specific http status codes
new HttpClientErrorConfigs type, that is object storing specific options/config according status code
new HTTP_CLIENT_ERROR_CONFIGS injection token, that contains custom configs for http client error handlers for specific http status codes
new provideHttpClientErrorConfigs provider, which provides http client error handlers and merges them with existing provided handlers
updated CatchHttpClientErrorOptions interface
new configs property, with specific options/config for http status codes
updated handleHttpClientErrors error handler
now use new configs property as priority for handling of errors
updated handleHttp404Error error handler
now use new configs property as priority for handling of errors
subpackage@anglr/error-handling/rest
updated RestCatchHttpClientError interface
new configs property, object storing options/config for specific http status codes
updated HttpClientErrorBehavior decorator
new parameter
statusCode if specified, behavior will be set for specific http status code