go_subnetter/netsplit/funcs_spliterr.go
2025-01-31 17:18:35 -05:00

15 lines
215 B
Go

package netsplit
// Error makes a SplitErr conform to error.
func (s *SplitErr) Error() (errStr string) {
if s == nil {
errStr = "(error unknown; nil error)"
return
}
errStr = s.Wrapped.Error()
return
}