(format string, details map[string]any, args ...any)
| 125 | } |
| 126 | |
| 127 | func invalidArgumentsErrorfWithDetails(format string, details map[string]any, args ...any) error { |
| 128 | return newCodedError(jsonErrorCodeInvalidArguments, fmt.Errorf(format, args...), details) |
| 129 | } |
| 130 | |
| 131 | func pathConflictErrorWithPath(path string, format string, args ...any) error { |
| 132 | return newCodedError(jsonErrorCodePathConflict, fmt.Errorf(format, args...), pathErrorDetails(path)) |