File: errors.go

package info (click to toggle)
golang-github-rkoesters-xdg 0.0~git20181125.edd15b8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 220 kB
  • sloc: makefile: 5
file content (13 lines) | stat: -rw-r--r-- 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
package keyfile

import (
	"errors"
)

// These errors can be returned if there is a problem processing a
// keyfile's contents.
var (
	ErrInvalid               = errors.New("invalid keyfile format")
	ErrBadEscapeSequence     = errors.New("bad escape sequence")
	ErrUnexpectedEndOfString = errors.New("unexpected end of string")
)