class Magiika::Error::Type

Overview

expected one type, got another

Defined in:

misc/error.cr

Constructors

Instance methods inherited from class Magiika::Error::Safe

position : Merlin::Position? position, title : String title, to_s : String to_s

Constructor methods inherited from class Magiika::Error::Safe

new(title : String, message : String, position : Position | Nil = nil) new

Constructor Detail

def self.new(found_type : TypeMeta, expected_type : TypeMeta, message : String | Nil = nil, position : Position | Nil = nil) #

[View source]