userMessage property
String
get
userMessage
Implementation
String get userMessage => switch (code) {
OdbcErrorCode.validation => 'The operation received invalid input.',
OdbcErrorCode.environmentUnavailable =>
'The database environment is unavailable.',
OdbcErrorCode.connection => 'The database connection failed.',
OdbcErrorCode.query => 'The database query failed.',
OdbcErrorCode.transaction => 'The transaction could not be completed.',
OdbcErrorCode.timeout => 'The operation exceeded its time limit.',
OdbcErrorCode.cancelled => 'The operation was cancelled.',
OdbcErrorCode.protocol => 'The database returned an invalid response.',
OdbcErrorCode.unsupported => 'This operation is not supported.',
OdbcErrorCode.resourceLimit =>
'The operation exceeded a resource limit.',
OdbcErrorCode.workerInterrupted =>
'The database worker was interrupted.',
OdbcErrorCode.cleanup =>
'The operation could not release its resources.',
OdbcErrorCode.internal => 'The operation failed unexpectedly.',
};