errors - ActiveState ActiveGo 1.8
...

Package errors

import "golang.org/x/crypto/openpgp/errors"
Overview
Index

Overview ▾

Package errors contains common error types for the OpenPGP packages.

Variables

var ErrKeyIncorrect error = keyIncorrectError(0)
var ErrKeyRevoked error = keyRevokedError(0)
var ErrUnknownIssuer error = unknownIssuerError(0)

type InvalidArgumentError

InvalidArgumentError indicates that the caller is in error and passed an incorrect value.

type InvalidArgumentError string

func (InvalidArgumentError) Error

func (i InvalidArgumentError) Error() string

type SignatureError

SignatureError indicates that a syntactically valid signature failed to validate.

type SignatureError string

func (SignatureError) Error

func (b SignatureError) Error() string

type StructuralError

A StructuralError is returned when OpenPGP data is found to be syntactically invalid.

type StructuralError string

func (StructuralError) Error

func (s StructuralError) Error() string

type UnknownPacketTypeError

type UnknownPacketTypeError uint8

func (UnknownPacketTypeError) Error

func (upte UnknownPacketTypeError) Error() string

type UnsupportedError

UnsupportedError indicates that, although the OpenPGP data is valid, it makes use of currently unimplemented features.

type UnsupportedError string

func (UnsupportedError) Error

func (s UnsupportedError) Error() string