Throw bases for computing (and start tiding exceptions)

This commit is contained in:
2018-03-11 18:34:41 +03:00
parent b2239e0e56
commit b10492533e
8 changed files with 190 additions and 121 deletions

View File

@@ -0,0 +1,23 @@
#! /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
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
# cursor: 16 del