uapi: make ipcerror conform to interface
This commit is contained in:
		
							parent
							
								
									c2a2b8d739
								
							
						
					
					
						commit
						3dd9a0535f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -21,11 +21,11 @@ type IPCError struct { | |||
| 	int64 | ||||
| } | ||||
| 
 | ||||
| func (s *IPCError) Error() string { | ||||
| func (s IPCError) Error() string { | ||||
| 	return fmt.Sprintf("IPC error: %d", s.int64) | ||||
| } | ||||
| 
 | ||||
| func (s *IPCError) ErrorCode() int64 { | ||||
| func (s IPCError) ErrorCode() int64 { | ||||
| 	return s.int64 | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue