sane-ffi/lib/sane/error.rb
2011-05-31 23:21:15 +02:00

11 lines
164 B
Ruby

class Sane
class Error < StandardError
attr_reader :status
def initialize(message, status)
super(message)
@status = status
end
end
end