#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2005 onwards University of Deusto
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
# This software consists of contributions made by many individuals,
# listed below:
#
# Author: Pablo Orduña <pablo@ordunya.com>
#
import weblab.exc as wlExc

#
# from WebLabError
#

class WebLabCoreError(wlExc.WebLabError):
    pass

#
# from WebLabCoreError
#

class SessionNotFoundError(WebLabCoreError):
    pass

class NoCurrentReservationError(WebLabCoreError):
    pass

class FailedToInteractError(WebLabCoreError):
    pass

class FailedToSendFileError(FailedToInteractError):
    pass

class FailedToSendCommandError(FailedToInteractError):
    pass

class FailedToFreeReservationError(WebLabCoreError):
    pass

class CoordinationConfigurationParsingError(WebLabCoreError):
    pass

class ReservationFailedError(WebLabCoreError):
    pass

#
# from ReservationFailedError
#

class UnknownExperimentIdError(ReservationFailedError):
    pass

class NoAvailableExperimentFoundError(ReservationFailedError):
    pass

class InvalidReservationStatusError(ReservationFailedError):
    pass

class NotASessionTypeError(ReservationFailedError):
    pass

