Changeset 6061 for sandbox/webservice/api/rest/catalog/ContactsResource.php
- Timestamp:
- 04/27/12 15:18:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/rest/catalog/ContactsResource.php
r6019 r6061 24 24 return $this->getGlobalContacts($search, $this->getParam('contactID')); 25 25 else{ 26 $ this->setError(Errors::CATALOG_MIN_ARGUMENT_SEARCH, $this-> getMinArgumentSearch());27 return $this->getResponse();26 $error = Errors::get(Errors::CATALOG_MIN_ARGUMENT_SEARCH, $this-> getMinArgumentSearch()); 27 throw new ResponseException($error['message'], $error['code']); 28 28 } 29 29 }
Note: See TracChangeset
for help on using the changeset viewer.