Code Coverage
 
Lines
Covered
100.00% covered (success)
100.00%
28 / 28
1
module TheFox
1
module Timr
# # Errors Inheritance Tree
#
# TimrError is the basic class for all Timr Error classes. It subclasses from [Rubys StandardError](http://ruby-doc.org/core-2.4.1/Exception.html).
#
# - TimrError
# - ModelError
# - IdError
# - ForeignIdError
# - TaskError
# - TrackError
# - StackError
# - DateTimeHelperError
# - TerminalHelperError
# - CommandError
# - ContinueCommandError
# - LogCommandError
# - PauseCommandError
# - PopCommandError
# - PushCommandError
# - ReportCommandError
# - ResetCommandError
# - StartCommandError
# - StatusCommandError
# - StopCommandError
# - TaskCommandError
# - TrackCommandError
# - HelpCommandError
# - DurationError
# - ThisShouldNeverHappenError
1
module Error
1
class TimrError < StandardError
end
1
class ModelError < TimrError
end
1
class IdError < ModelError
end
1
class ForeignIdError < ModelError
end
1
class TaskError < ModelError
end
1
class TrackError < ModelError
end
1
class StackError < ModelError
end
# Use by TheFox::Timr::Helper::DateTimeHelper.
1
class DateTimeHelperError < TimrError
end
# Use by TheFox::Timr::Helper::TerminalHelper.
1
class TerminalHelperError < TimrError
end
1
class CommandError < TimrError
end
1
class ContinueCommandError < CommandError
end
1
class LogCommandError < CommandError
end
1
class PauseCommandError < CommandError
end
1
class PopCommandError < CommandError
end
1
class PushCommandError < CommandError
end
1
class ReportCommandError < CommandError
end
1
class ResetCommandError < CommandError
end
1
class StartCommandError < CommandError
end
1
class StatusCommandError < CommandError
end
1
class StopCommandError < CommandError
end
1
class TaskCommandError < CommandError
end
1
class TrackCommandError < CommandError
end
1
class HelpCommandError < CommandError
end
1
class DurationError < TimrError
end
# This should really never happen. But you never know. ;)
1
class ThisShouldNeverHappenError < TimrError
end
end # module Error
end # module Timr
end # module TheFox