- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 129 for unwrap (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/object-api-errors.go
} // Unwrap the error. func (e InsufficientWriteQuorum) Unwrap() error { return errErasureWriteQuorum } // GenericError - generic object layer error. type GenericError struct { Bucket string Object string VersionID string Err error } // Unwrap the error to its underlying error. func (e GenericError) Unwrap() error { return e.Err }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
internal/kms/errors.go
APICode: "kms:NotSupported", Err: "requested functionality is not supported", } ) // Error is a KMS error that can be translated into an S3 API error. // // It does not implement the standard error Unwrap interface for // better error log messages. type Error struct { Code int // The HTTP status code returned to the client APICode string // The API error code identifying the error
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 16 14:03:03 GMT 2024 - 3.6K bytes - Click Count (0) -
cmd/api-response.go
writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeJSON) } type unwrapper interface { Unwrap() http.ResponseWriter } // headersAlreadyWritten returns true if the headers have already been written // to this response writer. It will unwrap the ResponseWriter if possible to try // and find a trackingResponseWriter. func headersAlreadyWritten(w http.ResponseWriter) bool { for {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
} type badConfigErr struct { Err error } // Error - return the error message func (bce badConfigErr) Error() string { return bce.Err.Error() } // Unwrap the error to its underlying error. func (bce badConfigErr) Unwrap() error { return bce.Err } type setConfigResult struct { Cfg config.Config SubSys string Dynamic boolCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
docs/debugging/xattr/main.go
} else { names = append(names, name) } var data [][]string for _, attr := range names { value, err := getxattr(path, attr) if err != nil { data = append(data, []string{attr, errors.Unwrap(err).Error()}) } else { data = append(data, []string{attr, fmt.Sprintf("%d", value)}) } } table.AppendBulk(data) // Add Bulk Data table.Render() }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K bytes - Click Count (0) -
fastapi/dependencies/models.py
else: # pragma: no cover from asyncio import iscoroutinefunction def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Any: if call is None: return call # pragma: no cover unwrapped = inspect.unwrap(_impartial(call)) return unwrapped def _impartial(func: Callable[..., Any]) -> Callable[..., Any]: while isinstance(func, partial): func = func.func return func @dataclassCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.1K bytes - Click Count (0) -
internal/rest/client.go
type NetworkError struct { Err error } func (n *NetworkError) Error() string { return n.Err.Error() } // Unwrap returns the error wrapped in NetworkError. func (n *NetworkError) Unwrap() error { return n.Err } // Client - http based RPC client. type Client struct { connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUGCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
api/go1.23.txt
pkg math/rand/v2, func Uint() uint #61716 pkg math/rand/v2, method (*ChaCha8) Read([]uint8) (int, error) #67059 pkg math/rand/v2, method (*Rand) Uint() uint #61716 pkg net, method (*DNSError) Unwrap() error #63116 pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254 pkg net, type DNSError struct, UnwrapErr error #63116 pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 25 17:08:08 GMT 2024 - 10.1K bytes - Click Count (0) -
api/go1.18.txt
pkg go/types, func NewTypeParam(*TypeName, Type) *TypeParam pkg go/types, func NewUnion([]*Term) *Union pkg go/types, method (*ArgumentError) Error() string pkg go/types, method (*ArgumentError) Unwrap() error pkg go/types, method (*Interface) IsComparable() bool pkg go/types, method (*Interface) IsImplicit() bool pkg go/types, method (*Interface) IsMethodSet() bool pkg go/types, method (*Interface) MarkImplicit()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0) -
fastapi/dependencies/utils.py
else: signature = inspect.signature(call) return signature def get_typed_signature(call: Callable[..., Any]) -> inspect.Signature: signature = _get_signature(call) unwrapped = inspect.unwrap(call) globalns = getattr(unwrapped, "__globals__", {}) typed_params = [ inspect.Parameter( name=param.name, kind=param.kind, default=param.default,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3)