Class

MatrixError

MatrixError#MatrixError(body, statusCode)

Constructor

# new MatrixError(body, statusCode)

Creates a new Matrix Error
Parameters:
Name Type Description
body The error body.
statusCode The HTTP status code.

View Source models/MatrixError.ts, line 68