DALServiceError¶
- exception pyvo.dal.DALServiceError(reason=None, code=None, cause=None, url=None)[source]¶
an exception indicating a failure communicating with a DAL service. Most typically, this is used to report DAL queries that result in an HTTP error.
initialize with a string message and an optional HTTP response code
- Parameters:
- reasonstr
a message describing the cause of the error
- codeint
the HTTP error code (as an integer)
- causestr
an exception issued as the underlying cause. A value of None indicates that no underlying exception was caught.
- urlstr
the query URL that produced the error