github.com/racerxdl/gonx@v0.0.0-20210103083128-c5afc43bcbd2/nx/nxerrors/ipc.go (about)

     1  package nxerrors
     2  
     3  type IPCError struct {
     4  	Message string
     5  	Result  uint64
     6  }
     7  
     8  func (i IPCError) Error() string {
     9  	return i.Message
    10  }
    11  
    12  func (i IPCError) String() string {
    13  	return i.Message
    14  }