module diode.errors

Code Map

module diode.errors;


class DiodeException : Exception
{
public:
	this(msg: string) { }
}

class EvalException : DiodeException
{
public:
	n: ir.Node;


public:
	this(n: ir.Node, msg: string) { }
}

fn makeNoExtension(file: string) DiodeException { }
fn makeExtensionNotSupported(file: string) DiodeException { }
fn makeLayoutNotFound(file: string, layout: string) DiodeException { }
fn makeConversionNotSupported(layout: string, contents: string) DiodeException { }
fn makeNoField(n: ir.Node, key: string) EvalException { }
fn makeNotSet(n: ir.Node) EvalException { }
fn makeNotText(n: ir.Node) EvalException { }
fn makeNotArray(n: ir.Node) EvalException { }