Mapytex/mapytex/calculus/core/compute/exceptions.py

27 lines
448 B
Python
Raw Normal View History

#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2017 lafrite <lafrite@Poivre>
#
# Distributed under terms of the MIT license.
"""
Exceptions for computing
"""
class ComputeError(Exception):
pass
class AddError(ComputeError):
pass
2018-03-11 17:05:17 +00:00
class MultiplyError(ComputeError):
pass
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
# cursor: 16 del