SoXX
b8e29de4fc
- Replace custom error types with string constants for common database errors. - Simplify the Database struct to include a Reason field for error messages. - Update Error method to format the error output using the Reason. - Modify validation error constants for consistency and clarity. |
||
---|---|---|
.. | ||
database_test.go | ||
database.go | ||
validation_test.go | ||
validation.go |