DatabaseException.internal constructor

const DatabaseException.internal(
  1. {Document document,
  2. String message,
  3. Object error}
)

Implementation

const DatabaseException.internal({
  Document document,
  String message,
  Object error,
}) : this.custom(
        document: document,
        code: DatabaseExceptionCodes.internal,
        name: 'internal',
        message: message,
        error: error,
      );