* [COMPLIANCE] Update Copyright and License Headers * chore: make gen to generate files with copyright headers * chore: update missed copyright headers --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Justin Nguyen <justin.nguyen@hashicorp.com>
33 lines
935 B
Go
33 lines
935 B
Go
// Copyright IBM Corp. 2020, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package kms
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// ErrUnknown represents an unknown error
|
|
var ErrUnknown = errors.New("unknown error")
|
|
|
|
// ErrInvalidParameter represents an invalid parameter error
|
|
var ErrInvalidParameter = errors.New("invalid parameter")
|
|
|
|
// ErrGenKey represents a key gen error
|
|
var ErrGenKey = errors.New("error occurred during key generation")
|
|
|
|
// ErrEncrypt represents an encryption error
|
|
var ErrEncrypt = errors.New("error occurred during encrypt")
|
|
|
|
// ErrDecrypt represents a decryption error
|
|
var ErrDecrypt = errors.New("error occurred during decrypt")
|
|
|
|
// ErrEncode represents an encoding error
|
|
var ErrEncode = errors.New("error occurred during encode")
|
|
|
|
// ErrDecode represents a decoding error
|
|
var ErrDecode = errors.New("error occurred during decode")
|
|
|
|
// ErrSign represents a signing error
|
|
var ErrSign = errors.New("error occurred during signing")
|