Source code for odatse.exception

# SPDX-License-Identifier: MPL-2.0
#
# ODAT-SE -- an open framework for data analysis
# Copyright (C) 2020- The University of Tokyo
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

[docs] class Error(Exception): """Base class of exceptions in odatse""" pass
[docs] class InputError(Error): """ Exception raised for errors in inputs Parameters ---------- message : str explanation """ def __init__(self, message: str) -> None: self.message = message