MCPcopy
hub / github.com/redis/go-redis / Error

Method Error

error_wrapping_test.go:421–423  ·  view source on GitHub ↗

Error implements the error interface

()

Source from the content-addressed store, hash-verified

419
420// Error implements the error interface
421func (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
426func (e *AppError) Unwrap() error {

Calls

no outgoing calls

Tested by

no test coverage detected