From 06d811bebaf97f1d0292db42403adcb53246e268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 19 Jun 2020 14:06:08 +0200 Subject: [PATCH] docs: move "Error handling" to "Error codes" in "Reference guides" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- docs/site/{Error-handling.md => reference/error-codes.md} | 7 +++---- docs/site/sidebars/lb4_sidebar.yml | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) rename docs/site/{Error-handling.md => reference/error-codes.md} (95%) 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'