Sha256: 0028b2ebe36aa38d4ba737fee51bd9ea993089ed252500d460462d560d709eb8

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

#
# Author:: R.J.Sharp
# Email:: robert(a)osburn-sharp.ath.cx
# Copyright:: Copyright (c) 2011 
# License:: Open Software Licence v3.0
#
# This software is licensed for use under the Open Software Licence v. 3.0
# The terms of this licence can be found at http://www.opensource.org/licenses/osl-3.0.php
# and in the file LICENCE. Under the terms of this licence, all derivative works
# must themselves be licensed under the Open Software Licence v. 3.0
#
# 
# This file groups together all the errors for jeeves.
# Preceed each class with a description of the error

module Jeeves

  # A general class for all errors created by this project. All specific exceptions
  # should be children of this class
  class JeevesError < RuntimeError; end
  
  class VersionError < JeevesError; end
  
  # errors raised by the scheduler
  class JscheduleError < JeevesError; end
  
  #the tuner type for a scheduler is not valid
  class InvalidTuner < JscheduleError; end
  
  # the tuner does not have the given mode
  class InvalidMode < JscheduleError; end
  
  # a schedule request is missing a required parameter
  class MissingParam < JscheduleError; end
  
  # the tuner is busy
  class TunerBusy < JscheduleError; end
  
  # store related errors
  class StoreError < JeevesError; end
  
  class InvalidPartition < StoreError; end
  
  class InvalidPartitionKey < StoreError; end
  
  class DiskError < JeevesError; end
  
  # listings related errors
  class ListingError < JeevesError; end
  class VideoError < JeevesError; end
  
  
  class TaggerError < JeevesError; end
  
  # A Jeckyl option that is needed has not been provided
  class MissingOption < TaggerError; end
  
  # the file provided cannot be read
  class FileError < TaggerError; end
  
  # the url does not work
  class UrlError < TaggerError; end
  
  # there was an error with the XML tags
  class XMLError < TaggerError; end
  
  # error creating matroska file
  class MkvError < TaggerError; end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jeeves-pvr-0.2.0 lib/jeeves/errors.rb