NewNotAssigned returns an error which wraps err and satisfies Is(err, NotAssigned) and the Locationer interface.
(err error, msg string)
| 340 | // NewNotAssigned returns an error which wraps err and satisfies |
| 341 | // Is(err, NotAssigned) and the Locationer interface. |
| 342 | func NewNotAssigned(err error, msg string) error { |
| 343 | return &errWithType{ |
| 344 | error: newLocationError(wrapErrorWithMsg(err, msg), 1), |
| 345 | errType: NotAssigned, |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | // Deprecated: IsNotAssigned reports whether err is a NotAssigned error. |
| 350 | // Use Is(err, NotAssigned) |
nothing calls this directly
no test coverage detected
searching dependent graphs…