Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 168 for errorCh (0.16 sec)

  1. 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")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. internal/config/lambda/event/errors.go

    import (
    	"fmt"
    )
    
    // ErrUnknownRegion - unknown region error.
    type ErrUnknownRegion struct {
    	Region string
    }
    
    func (err ErrUnknownRegion) Error() string {
    	return fmt.Sprintf("unknown region '%v'", err.Region)
    }
    
    // ErrARNNotFound - ARN not found error.
    type ErrARNNotFound struct {
    	ARN ARN
    }
    
    func (err ErrARNNotFound) Error() string {
    	return fmt.Sprintf("ARN '%v' not found", err.ARN)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/errors.go

    	return fmt.Sprintf("%v matches multiple resources or kinds", e.PartialKind)
    }
    
    func (*AmbiguousKindError) Is(target error) bool {
    	_, ok := target.(*AmbiguousKindError)
    	return ok
    }
    
    func IsAmbiguousError(err error) bool {
    	if err == nil {
    		return false
    	}
    	return errors.Is(err, &AmbiguousResourceError{}) || errors.Is(err, &AmbiguousKindError{})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 11 22:50:51 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go

    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apiserver/pkg/storage"
    
    	etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    func interpretWatchError(err error) error {
    	switch {
    	case err == etcdrpc.ErrCompacted:
    		return errors.NewResourceExpired("The resourceVersion for the provided watch is too old.")
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:59:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt %s -split-input-file -verify-diagnostics
    
    // expected-error @+1 {{failed to legalize operation 'func.func' that was explicitly marked illegal}}
    func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> {
      %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref>
      func.return %0 : tensor<4x2x!tf_type.stringref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 428 bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/errors.go

    // license that can be found in the LICENSE file.
    
    package script
    
    import (
    	"errors"
    	"fmt"
    )
    
    // ErrUnexpectedSuccess indicates that a script command that was expected to
    // fail (as indicated by a "!" prefix) instead completed successfully.
    var ErrUnexpectedSuccess = errors.New("unexpected success")
    
    // A CommandError describes an error resulting from attempting to execute a
    // specific command.
    type CommandError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/mvs/errors.go

    package mvs
    
    import (
    	"fmt"
    	"strings"
    
    	"golang.org/x/mod/module"
    )
    
    // BuildListError decorates an error that occurred gathering requirements
    // while constructing a build list. BuildListError prints the chain
    // of requirements to the module where the error occurred.
    type BuildListError struct {
    	Err   error
    	stack []buildListErrorElem
    }
    
    type buildListErrorElem struct {
    	m module.Version
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 17:22:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. src/go/scanner/errors.go

    	"fmt"
    	"go/token"
    	"io"
    	"sort"
    )
    
    // In an [ErrorList], an error is represented by an *Error.
    // The position Pos, if valid, points to the beginning of
    // the offending token, and the error condition is described
    // by Msg.
    type Error struct {
    	Pos token.Position
    	Msg string
    }
    
    // Error implements the error interface.
    func (e Error) Error() string {
    	if e.Pos.Filename != "" || e.Pos.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/errors.go

    func _() {
    	0 /* ERRORx "0 .* is not used" */
    	0 /* ERRORx "0 .* is not used" */
    	0 // ERRORx "0 .* is not used"
    	0 // ERRORx "0 .* is not used"
    }
    
    // Don't report spurious errors as a consequence of earlier errors.
    // Add more tests as needed.
    func _() {
    	if err := foo /* ERROR "undefined" */ (); err != nil /* "no error here" */ {}
    }
    
    // Use unqualified names for package-local objects.
    type T struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top