fbmobile/lib/core/enums/error_code.dart

13 lines
223 B
Dart
Raw Normal View History

2021-02-02 14:33:23 +00:00
/// 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,
}