diff --git a/docs/site/Error-handling.md b/docs/site/reference/error-codes.md similarity index 95% rename from docs/site/Error-handling.md rename to docs/site/reference/error-codes.md index 17934d64850e..c4da2b04df78 100644 --- a/docs/site/Error-handling.md +++ b/docs/site/reference/error-codes.md @@ -1,13 +1,12 @@ --- lang: en -title: Error Handling +title: Error Codes keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI, Error Handling sidebar: lb4_sidebar -permalink: /doc/en/lb4/Error-handling.html +permalink: /doc/en/lb4/Error-codes.html +redirect_from: /doc/en/lb4/Error-handling.html --- -## Known Error Codes - In order to allow clients to reliably detect individual error causes, LoopBack sets the error `code` property to a machine-readable string. diff --git a/docs/site/sidebars/lb4_sidebar.yml b/docs/site/sidebars/lb4_sidebar.yml index 76c7c37abccc..d4033bb232c6 100644 --- a/docs/site/sidebars/lb4_sidebar.yml +++ b/docs/site/sidebars/lb4_sidebar.yml @@ -498,10 +498,6 @@ children: url: Mixin.html output: 'web, pdf' - - title: 'Error handling' - url: Error-handling.html - output: 'web, pdf' - - title: 'Context' url: Context.html output: 'web, pdf' @@ -560,6 +556,10 @@ children: url: apidocs.index.html output: 'web, pdf' + - title: 'Error codes' + url: Error-codes.html + output: 'web, pdf' + - title: 'CLI References' url: Command-line-interface.html output: 'web, pdf'