Exceptions management

Signed-off-by: Lysander <lysandergc@gmail.com>