package go_pgp const pgpErrorPrefix = "failed to verify PGP signature: " type PGPError struct { InternalError error } func (err *PGPError) Error() string { return pgpErrorPrefix + err.InternalError.Error() } func (err *PGPError) Unwrap() error { return err.InternalError }