()
| 68 | } |
| 69 | |
| 70 | func (ce CloseError) Error() string { |
| 71 | return fmt.Sprintf("status = %v and reason = %q", ce.Code, ce.Reason) |
| 72 | } |
| 73 | |
| 74 | // CloseStatus is a convenience wrapper around Go 1.13's errors.As to grab |
| 75 | // the status code from a CloseError. |
no outgoing calls