isReadOnlyError method

bool isReadOnlyError()

True if the exception is a read-only error

Implementation

bool isReadOnlyError() {
  if (_message != null) {
    return _message.contains('readonly');
  }
  return false;
}