summaryrefslogtreecommitdiff
path: root/docker/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* Update code and tests for Engine 1.13 compatibilitydnephin-add-attachableJoffrey F2016-12-071-1/+3
| | | | | | Makefile now runs tests against Docker 1.13 RC Signed-off-by: Joffrey F <joffrey@docker.com>
* Add new user-focused APIBen Firshman2016-11-221-13/+80
| | | | | | See #1086 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Parse JSON API errorsBen Firshman2016-09-141-1/+4
| | | | Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Fix licensesBen Firshman2016-09-051-13/+0
| | | | | | | * Complete main LICENSE * Remove unnecessary licenses from individual files Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Update HTTPS docs linkhttps_docs_linkJoffrey F2016-01-181-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* return NotFound on 404 errorsLars Kellogg-Stedman2015-07-171-0/+4
| | | | | | | | | This changes raises docker.errors.NotFound on 404 errors. This gives client code the ability to differentiate between "an image does not exist" and "you are using the api incorrectly". This inherits from docker.errors.APIError so it will not affect any existing code.
* Use custom Error class (inherits DockerException and ValueError)check_resource_not_noneJoffrey F2015-04-271-0/+4
|
* fixed string formatting in errorsnir0s2015-02-111-3/+3
|
* Fix #466Joffrey F2015-02-011-0/+4
|
* * Merge branch 'tls' of github.com:momer/docker-py into momer-tlsJoffrey F2014-06-231-0/+11
| | | | | | | * Exported TLS configuration in tls.TLSConfig * Merged exceptions packagee into pre-existing errors module * Flake8 fixes * Bug fixes
* insert() is no longer available in API >=1.12Joffrey F2014-06-201-0/+4
|
* Moved APIError exception to docker.errors module.Evgeniy L2014-04-071-0/+37
|
* Create scope for docker client specific errorsEvgeniy L2014-04-061-0/+24
With more granular and specific exceptions user will be able to handle errors properly. Also changed raising of Exception to more specific TypeError which python raises in case of wrong arguments.