Sha256: 80d1ada4051e5a16740017dfd90b382ceb02b730723685810cc2482bc21e18a7

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

# encoding: utf-8

# Main
module CommandExec
  # Classed concerning pdflatex exceptions
  module Exceptions
    # Class used to indicate that a command 
    # could not be found in file system
    class CommandNotFound < RuntimeError; end
    
    # Class used to indicate that a command 
    # is not flagged as executable
    #
    # @example Counter measure for this error
    #   chmod +x <executable>
    class CommandNotExecutable < RuntimeError; end
    
    # Class used to indicate that a command 
    # is not a file
    class CommandIsNotAFile < RuntimeError; end
    
    # Class used to indicate that a command run
    # ended with a failure 
    class CommandExecutionFailed < RuntimeError; end
    
    # Class used to indicate that a logfile
    # could not be found in file system
    class LogfileNotFound < RuntimeError; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
command_exec-0.2.0 lib/command_exec/exceptions.rb