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

Struct PermissionError

internal/proto/redis_errors.go:168–170  ·  view source on GitHub ↗

PermissionError is returned when a user lacks required permissions.

Source from the content-addressed store, hash-verified

166
167// PermissionError is returned when a user lacks required permissions.
168type PermissionError struct {
169 msg string
170}
171
172func (e *PermissionError) Error() string {
173 return e.msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected