Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #253 from Clemens05/main
Browse files Browse the repository at this point in the history
Changed /error-codes to /response-codes (in response-codes.phtml)
  • Loading branch information
christyjacob4 authored Sep 26, 2022
2 parents 0447b6d + db417d9 commit 68bfe75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/docs/response-codes.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $errorTypes = $this->getParam('errors', []);
</tbody>
</table>

<h2><a href="/docs/error-codes#errorMessages" id="errorMessages">Error Messages</a></h2>
<h2><a href="/docs/response-codes#errorMessages" id="errorMessages">Error Messages</a></h2>

<p>When the Appwrite APIs return error messages, it does so in JSON format. For example, an error might look like this:</p>

Expand All @@ -137,7 +137,7 @@ $errorTypes = $this->getParam('errors', []);
</code></pre>
</div>

<h2><a href="/docs/error-codes#errorTypes" id="errorTypes">Error Types</a></h2>
<h2><a href="/docs/response-codes#errorTypes" id="errorTypes">Error Types</a></h2>

<p> Appwrite also passes convenient error types in addition to the HTTP response codes to help you get more fine grained control over what went wrong and allowing you to display relevant error messages in your applications. Error types are convenient to identify the type of error that occurred. </p>

Expand Down

0 comments on commit 68bfe75

Please sign in to comment.