Documentation / @ember-data/adapter / error / ForbiddenError
Defined in: packages/adapter/src/error.js:271
A ForbiddenError
equates to a HTTP 403 Forbidden
response status. It is used by an adapter to signal that a request to the external API was valid but the server is refusing to respond to it. If authorization was provided and is valid, then the authenticated user does not have the necessary permissions for the request.
ForbiddenError
class ForbiddenError(errors, message): void;
Defined in: packages/adapter/src/error.js:271
A ForbiddenError
equates to a HTTP 403 Forbidden
response status. It is used by an adapter to signal that a request to the external API was valid but the server is refusing to respond to it. If authorization was provided and is valid, then the authenticated user does not have the necessary permissions for the request.
ForbiddenError
Parameters
errors
any
message
any
Returns
void
Properties
extend()
static extend: (__namedParameters) => {
(errors, message): void;
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: ...; };
prototype: any;
};
Defined in: packages/adapter/src/error.js:112
Parameters
__namedParameters
Returns
(errors, message): void;
Parameters
errors
any
message
any
Returns
void
extend
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: ...; };
prototype
prototype: any;