-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tanut Lertwarachai
authored and
Tanut Lertwarachai
committed
Jan 28, 2025
1 parent
b21cca9
commit f595c7b
Showing
5 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
package band | ||
|
||
import "fmt" | ||
import ( | ||
"fmt" | ||
|
||
var ErrBandChainNotConnect = fmt.Errorf("cannot connect to bandchain") | ||
tunneltypes "github.com/bandprotocol/falcon/internal/bandchain/tunnel" | ||
) | ||
|
||
var ( | ||
ErrBandChainNotConnect = fmt.Errorf("cannot connect to Bandchain") | ||
|
||
ErrUnsupportedRouteType = func(route string) error { | ||
return fmt.Errorf("unsupported route type: %s", route) | ||
} | ||
|
||
ErrUnsupportedPacketContentType = func(packetReceipt tunneltypes.PacketReceiptI) error { | ||
return fmt.Errorf("unsupported packet content type: %T", packetReceipt) | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters