Add instance types for Crystal 0.16.0

This commit is contained in:
sdogruyol 2016-05-05 23:34:07 +03:00
parent 76b5add665
commit 12ec74e923
1 changed files with 2 additions and 3 deletions

View File

@ -6,10 +6,9 @@ module Kemal::Exceptions
end
class CustomException < Exception
getter context
def initialize(@context)
super "Rendered error with #{@context.response.status_code}"
def initialize(context)
super "Rendered error with #{context.response.status_code}"
end
end
end