Error implements the error interface
()
| 419 | |
| 420 | // Error implements the error interface |
| 421 | func (e *AppError) Error() string { |
| 422 | return fmt.Sprintf("[%s] %s (request_id=%s): %v", e.Code, e.Message, e.RequestID, e.Err) |
| 423 | } |
| 424 | |
| 425 | // Unwrap implements the error unwrapping interface - this is critical for errors.As() to work |
| 426 | func (e *AppError) Unwrap() error { |
no outgoing calls
no test coverage detected