error property

MatrixError get error

Returns the errcode as an MatrixError.

Implementation

MatrixError get error => MatrixError.values.firstWhere(
      (e) => e.name == errcode,
      orElse: () => MatrixError.M_UNKNOWN,
    );