fabric-samples/full-stack-asset-transfer-guide/applications/trader-go/expectedError.go
nXtCyberNet d42cc27a98 implemented the client in go
Signed-off-by: nXtCyberNet <rohantech2005@gmail.com>
2026-03-11 22:06:35 +05:30

17 lines
363 B
Go

/*
* Copyright IBM Corp. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package main
// 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
}