[Setup] Documentation #10

Merged
javier merged 12 commits from setup/documentation into main 2023-04-23 13:16:23 +00:00
Showing only changes of commit 5b10a02d13 - Show all commits

View File

@ -1,4 +1,7 @@
/// This error definitions represents any error happening while the client makes a request to the remote API and handles the respective response, excluding the decoding of the retrieved data into a particular model.
public enum AmiiboClientError: Error { public enum AmiiboClientError: Error {
/// The status code of the response is not the expected one, which is `.ok` (`200`).
case responseCode(Int) case responseCode(Int)
/// The status code of the response was not received at all.
case responseCodeNotFound case responseCodeNotFound
} }