* Formats the close code and optional reason for display. * * @since 4.0.0
()
| 178 | * @since 4.0.0 |
| 179 | */ |
| 180 | toString() { |
| 181 | return this.reason ? `${this.code}: ${this.reason}` : `${this.code}` |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected