# File lib_core/rucy/error.rb, line 10 def initialize(status=500, messg=nil) if (messg) then super(messg) elsif (HTTP_STAT.include? status) then super("#{status} #{HTTP_STAT[status]}") else super("#{status} Unknown") end @status = status @header = Hash.new end