- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 2,750 for errPos (0.06 seconds)
-
internal/bucket/versioning/error.go
package versioning import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...any) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/handling-errors.md
"type": "type_error.integer" } ] } ``` 将得到如下文本内容: ``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### 覆盖 `HTTPException` 错误处理器 { #override-the-httpexception-error-handler } 同理,也可以覆盖 `HTTPException` 的处理器。 例如,只为这些错误返回纯文本响应,而不是 JSON:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.2K bytes - Click Count (0) -
internal/s3select/parquet/errors.go
message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/handling-errors.md
"type": "type_error.integer" } ] } ``` 你將會改而得到文字版: ``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### 覆寫 `HTTPException` 的錯誤處理器 { #override-the-httpexception-error-handler } 同樣地,你也可以覆寫 `HTTPException` 的處理器。 例如,你可能想在這些錯誤時回傳純文字而非 JSON:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/handling-errors.md
} ] } ``` 다음과 같은 텍스트 버전을 받게 됩니다: ``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### `HTTPException` 오류 핸들러 오버라이드하기 { #override-the-httpexception-error-handler } 같은 방식으로 `HTTPException` 핸들러도 오버라이드할 수 있습니다. 예를 들어, 이런 오류들에 대해 JSON 대신 일반 텍스트 응답을 반환하고 싶을 수 있습니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 10.2K bytes - Click Count (0) -
internal/bucket/replication/error.go
package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...any) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.3K bytes - Click Count (0) -
cmd/erasure-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "errors" // errErasureReadQuorum - did not meet read quorum. var errErasureReadQuorum = errors.New("Read failed. Insufficient number of drives online") // errErasureWriteQuorum - did not meet write quorum. var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 04 23:10:08 GMT 2022 - 1.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/handling-errors.md
"type": "type_error.integer" } ] } ``` 以下のテキスト版を取得します: ``` Validation errors: Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer ``` ### `HTTPException`エラーハンドラのオーバーライド { #override-the-httpexception-error-handler } 同様に、`HTTPException`ハンドラをオーバーライドすることもできます。 例えば、これらのエラーに対しては、JSONではなくプレーンテキストを返すようにすることができます:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/error/error.jsp
type="text/css" /> <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/font-awesome.min.css')}" rel="stylesheet" type="text/css" /> </head> <body class="error"> <jsp:include page="../header.jsp" /> <main class="container"> <div class="text-center"> <h2> <la:message key="labels.error_title" /> </h2> <div> <la:info id="msg" message="true">Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/error/error.jsp
type="text/css" /> <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/font-awesome.min.css')}" rel="stylesheet" type="text/css" /> </head> <body class="error"> <jsp:include page="../header.jsp" /> <main class="container"> <div class="text-center"> <h2> <la:message key="labels.error_title" /> </h2> <div> <la:info id="msg" message="true">Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 1.5K bytes - Click Count (0)