fabric-samples/full-stack-asset-transfer-guide/applications/trader-go/commands/expectedError.go
nXtCyberNet cf7aa047c4 refactor the commands
Signed-off-by: nXtCyberNet <rohantech2005@gmail.com>
2026-06-10 21:22:59 +05:30

11 lines
273 B
Go

package commands
// ExpectedError represents a known, expected application error that should be
// displayed normally rather than treated as an unexpected failure.
type ExpectedError struct {
Message string
}
func (e *ExpectedError) Error() string {
return e.Message
}