auth
auth/errors.go
Return NilClientError when updating with nil client. When updateClient is called with a nil client, reaturn a NilClientError.
1.1 --- a/errors.go Wed Aug 13 08:39:07 2014 -0400 1.2 +++ b/errors.go Sat Aug 16 02:57:49 2014 -0400 1.3 @@ -23,6 +23,7 @@ 1.4 AuthorizationNotFoundError = errors.New("Authorization not found.") 1.5 ProfileNotFoundError = errors.New("Profile not found.") 1.6 TokenNotFoundError = errors.New("Token not found.") 1.7 + NilClientError = errors.New("Client was nil.") 1.8 ) 1.9 1.10 type URIFormatError string