()
| 68 | } |
| 69 | |
| 70 | func (e *UnauthorizedError) longError() string { |
| 71 | return fmt.Sprintf( |
| 72 | "%s: (subject: %v), (action: %v), (object: %v), (output: %v)", |
| 73 | errUnauthorized, e.subject, e.action, e.object, e.output, |
| 74 | ) |
| 75 | } |
| 76 | |
| 77 | // Error implements the error interface. |
| 78 | func (e UnauthorizedError) Error() string { |