MaxDepthExceededError creates a max depth exceeded error go:noinline
(depth int)
| 240 | // |
| 241 | //go:noinline |
| 242 | func MaxDepthExceededError(depth int) Error { |
| 243 | return panicIfEnabled(Error{ |
| 244 | kind: ErrKindMaxDepthExceeded, |
| 245 | message: fmt.Sprintf("max depth exceeded: depth=%d", depth), |
| 246 | }) |
| 247 | } |
| 248 | |
| 249 | // NilPointerError creates a nil pointer error |
| 250 | // |
no test coverage detected