Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,989 for error_1 (0.18 sec)

  1. 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/s3select/jstream/errors.go

    	context   string // additional error context
    	pos       errPos
    	atChar    byte
    	readerErr error // underlying reader error, if any
    }
    
    // ReaderErr returns the underlying error.
    func (e DecoderError) ReaderErr() error { return e.readerErr }
    
    // Error returns a string representation of the error.
    func (e DecoderError) Error() string {
    	loc := fmt.Sprintf("%s [%d,%d]", quoteChar(e.atChar), e.pos[0], e.pos[1])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. cmd/storage-errors.go

    var errDoneForNow = errors.New("done for now")
    
    // errSkipFile returned by the fn() for readDirFn() when it needs
    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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.
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. 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 ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. internal/event/errors.go

    }
    
    // ErrInvalidFilterName - invalid filter name error.
    type ErrInvalidFilterName struct {
    	FilterName string
    }
    
    func (err ErrInvalidFilterName) Error() string {
    	return fmt.Sprintf("invalid filter name '%v'", err.FilterName)
    }
    
    // ErrFilterNamePrefix - more than one prefix usage error.
    type ErrFilterNamePrefix struct{}
    
    func (err ErrFilterNamePrefix) Error() string {
    	return "more than one prefix in filter rule"
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  7. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. internal/s3select/json/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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. internal/s3select/unused-errors.go

    package s3select
    
    // /////////////////////////////////////////////////////////////////////
    //
    //	Validation errors.
    //
    // /////////////////////////////////////////////////////////////////////
    func errExpressionTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ExpressionTooLong",
    		message:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-errors.go

    func isSysErrCrossDevice(err error) bool {
    	return errors.Is(err, syscall.EXDEV)
    }
    
    // Check if given error corresponds to too many open files
    func isSysErrTooManyFiles(err error) bool {
    	return errors.Is(err, syscall.ENFILE) || errors.Is(err, syscall.EMFILE)
    }
    
    func osIsNotExist(err error) bool {
    	return errors.Is(err, os.ErrNotExist)
    }
    
    func osIsPermission(err error) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top