mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Add instance types for Crystal 0.16.0
This commit is contained in:
		
							parent
							
								
									76b5add665
								
							
						
					
					
						commit
						12ec74e923
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue