aboutsummaryrefslogtreecommitdiff
path: root/docs/x-matrix-response.pod6
blob: 18515db051a6c8b0a0b247c6fb4724d3bb6d6514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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