Class LaravelUi5\OData\Exception\ForbiddenException

extends ProtocolException

A read was denied by the host's {@see \LaravelUi5\OData\Service\Contracts\ReadAuthorizerInterface}.

Serializes as a standard OData 403 error envelope ({"error": {code, message, target, …}}) via {@see ProtocolException::toResponse()}. The UI5 v4 model surfaces a failed request's error body to the message model natively — the reliable carrier for a root-set denial (the sap-messages header is the carrier for the 200-partial case, not this one).

Methods
Methods inherited from LaravelUi5\OData\Exception\ProtocolException
__construct(), report(), code(), message(), target(), addDetail(), addInnerError(), header(), serialize(), toError(), getOriginalException(), toResponse(), getInnerException()
Methods inherited from Exception
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString()