1package xmlrpc 2 3import ( 4 "fmt" 5) 6 7// xmlrpcError represents errors returned on xmlrpc request. 8type xmlrpcError struct { 9 code int 10 err string 11} 12 13// Error() method implements Error interface 14func (e *xmlrpcError) Error() string { 15 return fmt.Sprintf("error: \"%s\" code: %d", e.err, e.code) 16} 17 18// Base64 represents value in base64 encoding 19type Base64 string 20