Source File
error.go
Belonging Package
github.com/jcmturner/rpc/v2/ndr
package ndr
import
// Malformed implements the error interface for malformed NDR encoding errors.
type Malformed struct {
EText string
}
// Error implements the error interface on the Malformed struct.
func ( Malformed) () string {
return fmt.Sprintf("malformed NDR stream: %s", .EText)
}
// Errorf formats an error message into a malformed NDR error.
func ( string, ...interface{}) Malformed {
return Malformed{EText: fmt.Sprintf(, ...)}
}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |