()
| 305 | } |
| 306 | |
| 307 | func (w apiErrorWrapper) RootError() error { |
| 308 | return w.root |
| 309 | } |
| 310 | |
| 311 | func NewAPIErrorWrapper(apiErr APIError, rootErr error) APIErrorWrapper { |
| 312 | return &apiErrorWrapper{ |
nothing calls this directly
no outgoing calls
no test coverage detected