Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/site/Validation-REST-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ of 10 digits separated by `-` after the 3rd and 6th digits.

## Customize validation errors

{% include note.html content="This section describes customization for legacy
[Action-based sequences](./REST-Action-sequence.md). Most LoopBack 4
applications utilize the new
[Middleware-based sequences](./REST-Middleware-sequence.md)." %}

Since the error is being caught at the REST layer, the simplest way to customize
the errors is to customize the
[sequence](https://loopback.io/doc/en/lb4/Sequence.html). It exists in all
Expand Down