github.com/hoffie/larasync@v0.0.0-20151025221940-0384d2bddcef/api/client/errors.go (about) 1 package client 2 3 import ( 4 "errors" 5 ) 6 7 var ( 8 // ErrMissingAdminSecret is returned if a method requiring the admin 9 // secret (such as Register()) is called without having set one first. 10 ErrMissingAdminSecret = errors.New("missing adminSecret") 11 12 // ErrUnexpectedStatus is returned whenever the request did not yield 13 // the expected HTTP status code. 14 ErrUnexpectedStatus = errors.New("unexpected http status") 15 )