#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
pyFuckery - exc.py
Created on 2/12/17.
Exception definitions
"""
[docs]class FuckeryError(Exception):
"""
Base exception for pyFuckery errors.
"""
[docs]class StorageError(FuckeryError):
"""
Error doing a memory operation.
"""
[docs]class AddressError(StorageError):
"""
Error related to address violations.
"""
[docs]class VMError(FuckeryError):
"""
Error related to the brainfuck VM
"""
[docs]class ExitCondition(VMError):
"""
Error raised during a exit condition.
"""