github.com/blend/go-sdk@v1.20240719.1/ex/exception.go (about)

     1  /*
     2  
     3  Copyright (c) 2024 - 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 ex
     9  
    10  // Exception is a meta interface for exceptions.
    11  type Exception interface {
    12  	error
    13  	WithMessage(...interface{}) Exception
    14  	WithMessagef(string, ...interface{}) Exception
    15  	WithInner(error) Exception
    16  }