sane-ffi/lib/sane/error.rb

11 lines
164 B
Ruby
Raw Normal View History

2011-05-31 23:21:15 +02:00
class Sane
2011-05-31 18:26:57 +02:00
class Error < StandardError
attr_reader :status
def initialize(message, status)
super(message)
@status = status
end
end
end