Affected by GO-2023-1808
and 2 other vulnerabilities
GO-2023-1808: Go package pydio/cells vulnerable to authorization bypass in github.com/pydio/cells
GO-2023-1809: go package pydio cells vulnerable to cross-site scripting in github.com/pydio/cells
GO-2023-2344: Abstrium Pydio Cells Resource Injection vulnerability in github.com/pydio/cells
package
Version:
v4.0.0-beta3
Opens a new window with list of versions in this module.
Published: Jun 16, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func BadGateway(id, format string, a ...interface{}) error
-
func BadRequest(id, format string, a ...interface{}) error
-
func Conflict(id, format string, a ...interface{}) error
-
func Equal(err1 error, err2 error) bool
-
func Forbidden(id, format string, a ...interface{}) error
-
func GatewayTimeout(id, format string, a ...interface{}) error
-
func InternalServerError(id, format string, a ...interface{}) error
-
func IsContextCanceled(err error) bool
-
func IsNetworkError(err error) bool
-
func MethodNotAllowed(id, format string, a ...interface{}) error
-
func New(id, detail string, code int32) error
-
func NotFound(id, format string, a ...interface{}) error
-
func NotImplemented(id, format string, a ...interface{}) error
-
func ServiceUnavailable(id, format string, a ...interface{}) error
-
func Timeout(id, format string, a ...interface{}) error
-
func Unauthorized(id, format string, a ...interface{}) error
-
type Error
func BadGateway(id, format string, a ...interface{}) error
BadGateway generates a 502 error
func BadRequest(id, format string, a ...interface{}) error
BadRequest generates a 400 error.
func Conflict(id, format string, a ...interface{}) error
Conflict generates a 409 error.
Equal tries to compare errors
func Forbidden(id, format string, a ...interface{}) error
Forbidden generates a 403 error.
func GatewayTimeout(id, format string, a ...interface{}) error
GatewayTimeout generates a 504 error
func InternalServerError(id, format string, a ...interface{}) error
InternalServerError generates a 500 error.
IsContextCanceled interprets error as a "context canceled"
IsNetworkError tries to detect if error is a network error.
func MethodNotAllowed(id, format string, a ...interface{}) error
MethodNotAllowed generates a 405 error.
New generates a custom error.
func NotFound(id, format string, a ...interface{}) error
NotFound generates a 404 error.
func NotImplemented(id, format string, a ...interface{}) error
NotImplemented generates a 501 error
func ServiceUnavailable(id, format string, a ...interface{}) error
ServiceUnavailable generates a 503 error
func Timeout(id, format string, a ...interface{}) error
Timeout generates a 408 error.
func Unauthorized(id, format string, a ...interface{}) error
Unauthorized generates a 401 error.
FromError try to convert go error to *Error
Parse tries to parse a JSON string into an error. If that
fails, it will set the given string as the error detail.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.