Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,085 for erros (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/crypto/error.go

    func Errorf(format string, a ...any) error {
    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. internal/hash/errors.go

    type SizeTooLarge struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeTooLarge) Error() string {
    	return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeMismatch error size mismatch
    type SizeMismatch struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeMismatch) Error() string {
    	return fmt.Sprintf("Size mismatch: got %d, want %d", e.Got, e.Want)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Click Count (0)
  3. cmd/typed-errors.go

    // error returned when temporary account is not found
    var errNoSuchTempAccount = errors.New("Specified temporary account does not exist")
    
    // error returned when access key is not found
    var errNoSuchAccessKey = errors.New("Specified access key does not exist")
    
    // error returned in IAM subsystem when an account doesn't exist.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  4. internal/s3select/errors.go

    package s3select
    
    import "strings"
    
    // SelectError - represents s3 select error specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html#RESTObjectSELECTContent-responses-special-errors.
    type SelectError interface {
    	Cause() error
    	ErrorCode() string
    	ErrorMessage() string
    	HTTPStatusCode() int
    	Error() string
    }
    
    type s3Error struct {
    	code       string
    	message    string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/handling-errors.md

            }
        ]
    }
    ```
    
    you will get a text version, with:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### Override the `HTTPException` error handler { #override-the-httpexception-error-handler }
    
    The same way, you can override the `HTTPException` handler.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. internal/s3select/csv/errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import "errors"
    
    type s3Error struct {
    	code       string
    	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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  7. internal/grid/errors.go

    package grid
    
    import (
    	"errors"
    	"fmt"
    )
    
    var (
    	// ErrUnknownHandler is returned when an unknown handler is requested.
    	ErrUnknownHandler = errors.New("unknown mux handler")
    
    	// ErrHandlerAlreadyExists is returned when a handler is already registered.
    	ErrHandlerAlreadyExists = errors.New("mux handler already exists")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  8. 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")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. internal/s3select/simdj/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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  10. internal/kms/errors.go

    	}
    )
    
    // 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
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    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)
Back to Top