class CrShader::ShaderError

Defined in:

crshader/parser/error_formatter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String, filename : String | Nil = nil, line_number : Int32 | Nil = nil, column_number : Int32 | Nil = nil, tip : String | Nil = nil) #

Instance Method Detail

def column_number : Int32 | Nil #

def filename : String | Nil #

def formatted_message(source_lines : Array(String) | Nil = nil, use_color : Bool = true) : String #

def line_number : Int32 | Nil #

def tip : String | Nil #