core

package
v0.0.0-...-7ec2eca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(c *fiber.Ctx, err error)

Types

type S3Error

type S3Error struct {
	XMLName    xml.Name `xml:"Error"`
	Code       string
	Message    string
	RequestId  string
	HostId     string
	StatusCode int `xml:"-"`
}

func ErrorAccessDenied

func ErrorAccessDenied() *S3Error

func ErrorInternalError

func ErrorInternalError(message string) *S3Error

func ErrorNoSuchBucket

func ErrorNoSuchBucket() *S3Error

func ErrorNotImplemented

func ErrorNotImplemented() *S3Error

func (*S3Error) Error

func (e *S3Error) Error() string

func (*S3Error) WithHostID

func (e *S3Error) WithHostID(hostID string) *S3Error

func (*S3Error) WithRequestID

func (e *S3Error) WithRequestID(requestID string) *S3Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL