Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 186 for error_0 (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go

    }
    
    // InternalError renders a simple internal error
    func InternalError(w http.ResponseWriter, req *http.Request, err error) {
    	http.Error(w, sanitizer.Replace(fmt.Sprintf("Internal Server Error: %q: %v", req.RequestURI, err)),
    		http.StatusInternalServerError)
    	utilruntime.HandleError(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 16:18:47 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  7. 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
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/errors/errors.go

    type Matcher func(error) bool
    
    // FilterOut removes all errors that match any of the matchers from the input
    // error.  If the input is a singular error, only that error is tested.  If the
    // input implements the Aggregate interface, the list of errors will be
    // processed recursively.
    //
    // This can be used, for example, to remove known-OK errors (such as io.EOF or
    // os.PathNotFound) from a list of errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 09:44:02 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    						Detail: "error1",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error2",
    					},
    				},
    				{
    					Error: &apiservercel.Error{
    						Detail: "error3",
    					},
    				},
    			},
    			expected: []error{
    				errors.New("error1"),
    				errors.New("error2"),
    				errors.New("error3"),
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  10. maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         * The error's stacktrace will be output when this error level is enabled.
         *
         * @param content
         * @param error
         */
        void error(CharSequence content, Throwable error);
    
        /**
         * Send an exception to the user in the <b>error</b> error level.<br>
         * The stack trace for this exception will be output when this error level is enabled.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top