fbmobile/lib/core/enums/error_code.dart
2021-02-02 15:33:23 +01:00

12 lines
223 B
Dart

/// Enums for error codes
enum ErrorCode {
/// A generic error
GENERAL_ERROR,
/// Errors related to connections
SOCKET_ERROR,
SOCKET_TIMEOUT,
/// A REST error (response code wasn't 200 or 204)
REST_ERROR,
}