errors

package
v0.0.0-...-345bce5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBucketExists

func IsBucketExists(e error) (is bool)

IsBucketExists returns true if the error is of type BucketExistsErr

Types

type BucketExistsErr

type BucketExistsErr struct {
	// contains filtered or unexported fields
}

BucketExistsErr SHOULD be returned by the Provision() method when bucket creation fails due a name collision in the object store

func NewBucketExistsError

func NewBucketExistsError(msg string) *BucketExistsErr

NewBucketExistsError is a simple constructor for a BucketExistsErr

func (BucketExistsErr) Error

func (e BucketExistsErr) Error() string

Error implements the Error interface

Jump to

Keyboard shortcuts

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