IsUnimplemented returns whether the given error is of type Unimplemented.
(err error)
| 111 | |
| 112 | // IsUnimplemented returns whether the given error is of type Unimplemented. |
| 113 | func IsUnimplemented(err error) bool { return HasCode(err, uint32(codes.Unimplemented)) } |
| 114 | |
| 115 | // IsInternal returns whether the given error is of type Internal. |
| 116 | func IsInternal(err error) bool { return HasCode(err, uint32(codes.Internal)) } |