IsAborted returns whether the given error is of type Aborted.
(err error)
| 108 | |
| 109 | // IsAborted returns whether the given error is of type Aborted. |
| 110 | func IsAborted(err error) bool { return HasCode(err, uint32(codes.Aborted)) } |
| 111 | |
| 112 | // IsUnimplemented returns whether the given error is of type Unimplemented. |
| 113 | func IsUnimplemented(err error) bool { return HasCode(err, uint32(codes.Unimplemented)) } |