Files
concrete/estimator_new/errors.py
2022-04-04 23:39:02 +02:00

16 lines
277 B
Python

# -*- coding: utf-8 -*-
class OutOfBoundsError(ValueError):
"""
Used to indicate a wrong value, for example δ < 1.
"""
pass
class InsufficientSamplesError(ValueError):
"""
Used to indicate the number of samples given is too small.
"""
pass