- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for goerrors (0.17 sec)
-
src/cmd/compile/internal/types2/errors.go
func (err *error_) report() { if err.empty() { panic("no error") } // Cheap trick: Don't report errors with messages containing // "invalid operand" or "invalid type" as those tend to be // follow-on errors which don't add useful information. Only // exclude them if these strings are not at the beginning, // and only if we have at least one error already reported.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/go/types/errors.go
func (err *error_) report() { if err.empty() { panic("no error") } // Cheap trick: Don't report errors with messages containing // "invalid operand" or "invalid type" as those tend to be // follow-on errors which don't add useful information. Only // exclude them if these strings are not at the beginning, // and only if we have at least one error already reported.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0) -
src/fmt/errors.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fmt import ( "errors" "slices" ) // Errorf formats according to a format specifier and returns the string as a // value that satisfies error. // // If the format specifier includes a %w verb with an error operand,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/kms/errors.go
Andreas Auernhammer <******@****.***> 1715126137 +0200
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.6K bytes - Viewed (0) -
errors.go
// ErrSubQueryRequired sub query required ErrSubQueryRequired = errors.New("sub query required") // ErrInvalidData unsupported data ErrInvalidData = errors.New("unsupported data") // ErrUnsupportedDriver unsupported driver ErrUnsupportedDriver = errors.New("unsupported driver") // ErrRegistered registered ErrRegistered = errors.New("registered")
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/config/errors.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package config // UI errors var ( ErrInvalidXLValue = newErrFn( "Invalid drive path", "Please provide a fresh drive for single drive MinIO setup", "MinIO only supports fresh drive paths", ) ErrInvalidBrowserValue = newErrFn(
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 18 22:25:32 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/util/filesystem/util_test.go
f, err := os.CreateTemp("", "test-domain-socket") require.NoErrorf(t, err, "Failed to create file for test purposes: %v while setting up: %s", err, test.label) addr := f.Name() f.Close() var ln *net.UnixListener if test.listenOnSocket { os.Remove(addr) ta, err := net.ResolveUnixAddr("unix", addr) require.NoErrorf(t, err, "Failed to ResolveUnixAddr: %v while setting up: %s", err, test.label)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/typed-errors.go
package cmd import ( "errors" ) // errInvalidArgument means that input argument is invalid. var errInvalidArgument = errors.New("Invalid arguments specified") // errMethodNotAllowed means that method is not allowed. var errMethodNotAllowed = errors.New("Method not allowed") // errSignatureMismatch means signature did not match. var errSignatureMismatch = errors.New("Signature does not match")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
Alejandra <******@****.***> 1711071731 -0500
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
The status codes in the 400 range mean that there was an error from the client. Remember all those **"404 Not Found"** errors (and jokes)? ## Use `HTTPException` To return HTTP responses with errors to the client you use `HTTPException`. ### Import `HTTPException` ```Python hl_lines="1" {!../../../docs_src/handling_errors/tutorial001.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 9.1K bytes - Viewed (0)