Exceptions¶
pybuoy.exceptions¶
- class pybuoy.exceptions.HTTPException(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
Initialize RequestException with request and response objects.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- errno¶
POSIX exception code
- filename¶
exception filename
- filename2¶
second exception filename
- strerror¶
exception strerror
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class pybuoy.exceptions.NDBCException¶
- __init__(*args, **kwargs)¶
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class pybuoy.exceptions.NOAAException¶
- __init__(*args, **kwargs)¶
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class pybuoy.exceptions.DWMLException¶
NOAA DWML Exception.
ref: https://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd
- __init__(*args, **kwargs)¶
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.