diff options
author | Matias Linares <matiaslina@gmail.com> | 2019-06-05 00:50:35 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2019-06-05 00:50:35 -0300 |
commit | c5e5856fab53af27e085bb65ba9eeacd2def1e6e (patch) | |
tree | ebf71494bc60bcda0fbf7c1ad4982db033300be3 /docs/x-matrix-response.pod6 | |
parent | 4c007e0df300e7fb281fcadbcf707b71ed7e2483 (diff) | |
download | perl6-matrix-client-c5e5856fab53af27e085bb65ba9eeacd2def1e6e.tar.gz |
Upgrade documentation
Diffstat (limited to 'docs/x-matrix-response.pod6')
-rw-r--r-- | docs/x-matrix-response.pod6 | 23 |
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..d93c263 --- /dev/null +++ b/docs/x-matrix-response.pod6 @@ -0,0 +1,23 @@ +=begin pod + +=TITLE X::Matrix::Response + +=SUBTITLE Error querying the matrix server + + + 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 |