DALQueryError

exception pyvo.dal.exceptions.DALQueryError(reason=None, label=None, url=None)[source]

an exception indicating an error by a working DAL service while processing a query. Generally, this would be an error that the service successfully detected and consequently was able to respond with a legal error response– namely, a VOTable document with an INFO element contains the description of the error. Possible errors will include bad usage by the client, such as query-syntax errors.

Parameters:
reason : str

a message describing the cause of the error. This should be set to the content of the INFO error element.

label : str

the identifying name of the error. This should be the value of the INFO element’s value attribute within the VOTable response that describes the error.

url : str

the query URL that produced the error