final |
|---|
readonly |
A single read-authorization message — the standard OData / SAP message shape
(code, message, numericSeverity, target, longtextUrl).
numericSeverity follows com.sap.vocabularies.Common.v1.NumericMessageSeverity:
1 = success, 2 = info, 3 = warning, 4 = error. A root (hard) denial is an error (4)
carried in the 403 error envelope; a dropped $expand is a warning (3) carried in the
sap-messages header (the honest-partial model — added in the next slice).
Unbound messages MUST carry an empty target — a non-resolvable target is silently
dropped by the UI5 v4 model.
| Methods | ||
|---|---|---|
public
|
__construct(string $code, string $message, int $numericSeverity = 4, string $target = '', ?string $longtextUrl = null)
|
# |
public
|
isError(): bool
|
# |
public
|
toArray(): array<string, mixed>
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$code
|
# |
public
|
string
|
$message
|
# |
public
|
int
|
$numericSeverity
|
# |
public
|
string
|
$target
|
# |
public
|
?string
|
$longtextUrl
|
# |