Sha256: 1954f6d5a653f05f1c79a17db8666a9ddc825e48eea355309dc22dddcc706683
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
module OptimizePlayer module Errors class OptimizePlayerError < StandardError attr_reader :status attr_reader :error attr_reader :message def initialize(status=nil, error=nil, message=nil) @status = status @error = error @message = message end def to_s status_string = status.nil? ? "" : "(Status #{status})" "#{status_string} #{error} - #{message}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
optimizeplayer-0.0.1 | lib/optimize_player/errors/optimize_player_error.rb |