aboutsummaryrefslogtreecommitdiff
path: root/docs/x-matrix-response.pod6
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2019-01-05 10:40:06 -0300
committerMatias Linares <matiaslina@gmail.com>2019-01-05 10:40:06 -0300
commit8fe108196f3e9d6a7fc6ffda35f3943a506ea018 (patch)
treeaab869c92e2ab42e9c31527de7e40ba3021d1f62 /docs/x-matrix-response.pod6
parent3d6d5a4828e602837886358918e324f34e37b962 (diff)
downloadperl6-matrix-client-8fe108196f3e9d6a7fc6ffda35f3943a506ea018.tar.gz
Update documentation
Diffstat (limited to 'docs/x-matrix-response.pod6')
-rw-r--r--docs/x-matrix-response.pod623
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/x-matrix-response.pod6 b/docs/x-matrix-response.pod6
new file mode 100644
index 0000000..18515db
--- /dev/null
+++ b/docs/x-matrix-response.pod6
@@ -0,0 +1,23 @@
+=begin pod
+
+=TITLE X::Matrix::Response
+
+=SUBTITLE Error querying the matrix server
+
+=for code
+class X::Matrix::Response is Exception {}
+
+Error class when the matrix server returns an error code (4XX).
+
+=head1 METHODS
+
+=head2 code
+
+Returns the HTTP error code.
+
+=head2 error
+
+Returns a C<Str> with the matrix error. A full list of error codes can be
+found in the L<matrix spec|https://matrix.org/docs/spec/client_server/r0.4.0.html#api-standards>.
+
+=end pod \ No newline at end of file