enum ErrorCode {
  invalidParams('INVALID_PARAMS'),
  serverUnreachable('SERVER_UNREACHABLE'),
  serverTimeout('SERVER_TIMEOUT'),
  serverHttpError('SERVER_HTTP_ERROR'),
  authInvalidCredentials('AUTH_INVALID_CREDENTIALS'),
  authForbidden('AUTH_FORBIDDEN'),
  storeConflict('STORE_CONFLICT'),
  storeNotFound('STORE_NOT_FOUND'),
  internalError('INTERNAL_ERROR');

  final String value;
  const ErrorCode(this.value);
}
