[F] $error
function $error(context, target): void@error decorator marks a model as an error type.
Any derived models (using extends) will also be seen as error types.
Parameters
| Parameter | Type |
|---|---|
context | DecoratorContext |
target | Model |
Returns
void
function $error(context, target): void@error decorator marks a model as an error type.
Any derived models (using extends) will also be seen as error types.
| Parameter | Type |
|---|---|
context | DecoratorContext |
target | Model |
void