File: errors.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,416 kB
  • sloc: sh: 99; makefile: 21
file content (13 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package containers

import "github.com/gophercloud/gophercloud"

// ErrInvalidContainerName signals a container name containing an illegal
// character.
type ErrInvalidContainerName struct {
	gophercloud.BaseError
}

func (e ErrInvalidContainerName) Error() string {
	return "A container name must not contain: " + forbiddenContainerRunes
}