github.com/blend/go-sdk@v1.20220411.3/vault/errors.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package vault
     9  
    10  import "github.com/blend/go-sdk/ex"
    11  
    12  // Common error codes.
    13  const (
    14  	ErrNotFound                 ex.Class = "vault; not found"
    15  	ErrUnauthorized             ex.Class = "vault; not authorized"
    16  	ErrServerError              ex.Class = "vault; remote error"
    17  	ErrBatchTransitEncryptError ex.Class = "vault; batch encryption error"
    18  	ErrBatchTransitDecryptError ex.Class = "vault; batch decryption error"
    19  )