1# (C) Copyright 2005-2020 Enthought, Inc., Austin, TX
2# All rights reserved.
3#
4# This software is provided without warranty under the terms of the BSD
5# license included in LICENSE.txt and may be redistributed only under
6# the conditions described in the aforementioned license. The license
7# is also available online at http://www.enthought.com/licenses/BSD.txt
8#
9# Thanks for using Enthought open source!
10
11""" Provide an Exception classes for the the DataView code.
12"""
13
14
15class DataViewError(ValueError):
16    """ The base exception class for DataView errors. """
17    pass
18
19
20class DataViewGetError(DataViewError):
21    """ An exception raised when getting a value fails. """
22    pass
23
24
25class DataViewSetError(DataViewError):
26    """ An exception raised when setting a value fails. """
27    pass
28