isExtensionError reports whether err (or any error in its chain) is an extensionError.
(err error)
| 302 | |
| 303 | // isExtensionError reports whether err (or any error in its chain) is an extensionError. |
| 304 | func isExtensionError(err error) bool { |
| 305 | var e *extensionError |
| 306 | return errors.As(err, &e) |
| 307 | } |
| 308 | |
| 309 | // isRegisteredExtensionLegacyKey reports whether key matches a flat legacy key declared by any |
| 310 | // registered extension. Must be called with extensionRegistry.RLock held. |
no outgoing calls
no test coverage detected