mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-01 23:19:09 +00:00
FEAT: Connection test creating connection
- If any error occurs, connection is deleted - If operation_result is false, connection is deleted
This commit is contained in:
@@ -38,6 +38,13 @@ const TERMS_OF_USE = {
|
||||
REQUIRED: 'TERMS_OF_USE.REQUIRED',
|
||||
};
|
||||
|
||||
const CONNECTION_TEST = {
|
||||
ERROR: 'CONNECTION_TEST.ERROR',
|
||||
EXPIRED: 'CONNECTION_TEST.EXPIRED',
|
||||
TIMEOUT: 'CONNECTION_TEST.TIMEOUT',
|
||||
UNKNOWN: 'CONNECTION_TEST.UNKNOWN',
|
||||
};
|
||||
|
||||
const ErrorCodes = {
|
||||
UNKNOWN: 'UNKNOWN',
|
||||
RATE_LIMIT: 'RATE_LIMIT',
|
||||
@@ -47,6 +54,7 @@ const ErrorCodes = {
|
||||
TERMS_OF_USE,
|
||||
USER,
|
||||
CUSTOMER,
|
||||
CONNECTION_TEST,
|
||||
};
|
||||
|
||||
export default ErrorCodes;
|
||||
|
||||
Reference in New Issue
Block a user