Error returns the error message.
()
| 9 | |
| 10 | // Error returns the error message. |
| 11 | func (e MapKeyNotFound) Error() string { |
| 12 | return fmt.Sprintf("map key not found: %q", e.Key) |
| 13 | } |
| 14 | |
| 15 | // SliceIndexOutOfRange is returned when an index is invalid. |
| 16 | type SliceIndexOutOfRange struct { |
no outgoing calls