We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9833f0e commit 4c2cea5Copy full SHA for 4c2cea5
objectbox/lib/src/native/bindings/helpers.dart
@@ -69,12 +69,8 @@ class ObjectBoxNativeError {
69
case OBX_ERROR_ILLEGAL_STATE:
70
throw StateError(messageWithErrorCode);
71
case OBX_ERROR_ILLEGAL_ARGUMENT:
72
- case OBX_ERROR_STD_ILLEGAL_ARGUMENT:
73
throw ArgumentError(messageWithErrorCode);
74
case OBX_ERROR_NUMERIC_OVERFLOW:
75
- case OBX_ERROR_STD_OUT_OF_RANGE:
76
- case OBX_ERROR_STD_RANGE:
77
- case OBX_ERROR_STD_OVERFLOW:
78
throw RangeError(messageWithErrorCode);
79
case OBX_ERROR_DB_FULL:
80
throw DbFullException(messageWithContext, code);
0 commit comments