Sha256: 7dc804eb9cebf7152749e9c896e325ac09978d7493c0efa091d2cac64d65e399
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
class WebSystem::ServerErrorRequest < WebSystem::Request def self.call env status = 500 headers = { "Framework" => "Liza #{Lizarb::VERSION}" } e = env["LIZA_ERROR"] body = "Server Error #{status} - #{e.class} - #{e.message}" [status, headers, [body]] end end
Version data entries
3 entries across 3 versions & 1 rubygems