Error satisfies the error interface
()
| 5 | |
| 6 | // Error satisfies the error interface |
| 7 | func (e ErrorNotFound) Error() string { |
| 8 | return string(e) |
| 9 | } |
| 10 | |
| 11 | // NotFound defines the behavior of this error |
| 12 | func (e ErrorNotFound) NotFound() bool { |
no outgoing calls