Source code for red_october.exceptions

# -*- coding: utf-8 -*-
# Copyright 2016 LasLabs Inc.
# License MIT (https://opensource.org/licenses/MIT).

import requests


[docs]class RedOctoberException(EnvironmentError): """ This exception is raised from errors in the RedOctober Library. """
[docs]class RedOctoberRemoteException(RedOctoberException): """ This exception is raised to indicate issues returned from API. """
[docs]class RedOctoberDecryptException(RedOctoberRemoteException): """ This exception is raised when there are errors decrypting a file. """