Source code for nxpy.command.error
# nxpy.command package -------------------------------------------------------
# Copyright Nicola Musatti 2010 - 2012
# Use, modification, and distribution are subject to the Boost Software
# License, Version 1.0. (See accompanying file LICENSE.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# See http://sourceforge.net/nxpy for library home page. ---------------------
r"""
Exception classes for the nxpy.command package.
"""
[docs]class Error(Exception):
r"""Package exceptions' base class"""
[docs]class ExpectError(Exception):
"""Raised on invalid input from stdout or stderr"""
[docs]class TimeoutError(Exception):
"""Raised when expect didn't satisfy a timing constraint"""
[docs]class TimerError(Exception):
"""Raised on misuse of the Timer class"""