aboutsummaryrefslogtreecommitdiff
path: root/lib/Matrix/Client/Exception.pm6
blob: 924eece774ea4dc7c4254c3b5a4f56f1127b63ea (plain)
1
2
3
4
5
6
7
8
9
10
package X::Matrix {
    class Response is Exception {
        has $.code;
        has $.error;

        method message {
            "$!code: $!error"
        }
    }
}