Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,091 for ErrorIs (0.26 sec)

  1. internal/hash/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 hash
    
    import (
    	"errors"
    	"fmt"
    )
    
    // SHA256Mismatch - when content sha256 does not match with what was sent from client.
    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/errors.go

    limitations under the License.
    */
    
    package kubelet
    
    import "errors"
    
    const (
    	// NetworkNotReadyErrorMsg is used to describe the error that network is not ready
    	NetworkNotReadyErrorMsg = "network is not ready"
    )
    
    var (
    	// ErrNetworkUnknown indicates the network state is unknown
    	ErrNetworkUnknown = errors.New("network state unknown")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 02:40:51 UTC 2019
    - 876 bytes
    - Viewed (0)
  3. internal/s3select/csv/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 csv
    
    import "errors"
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. pkg/controller/util/endpointslice/errors.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package endpointslice
    
    // StaleInformerCache errors indicate that the informer cache includes out of
    // date resources.
    type StaleInformerCache struct {
    	msg string
    }
    
    // NewStaleInformerCache return StaleInformerCache with error mes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 14 07:15:35 UTC 2021
    - 1K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go

    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    // Avoid emitting errors that look like valid HTML. Quotes are okay.
    var sanitizer = strings.NewReplacer(`&`, "&amp;", `<`, "&lt;", `>`, "&gt;")
    
    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. staging/src/k8s.io/apiserver/pkg/cel/errors.go

    	// Required().
    	ErrorTypeRequired ErrorType = "RuleRequired"
    	// ErrorTypeInvalid is used to report malformed values
    	ErrorTypeInvalid ErrorType = "RuleInvalid"
    	// ErrorTypeInternal is used to report other errors that are not related
    	// to user input.  See InternalError().
    	ErrorTypeInternal ErrorType = "InternalError"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. cmd/erasure-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "errors"
    
    // errErasureReadQuorum - did not meet read quorum.
    var errErasureReadQuorum = errors.New("Read failed. Insufficient number of drives online")
    
    // errErasureWriteQuorum - did not meet write quorum.
    var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 04 23:10:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top