class Bindgen::Tool::ExitError

Overview

Dummy error that can be thrown by a class to exit out of the tool.

Defined in:

bindgen/tool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message = "Internal error", code : Int32 = 1) #

[View source]

Instance Method Detail

def code : Int32 #

The exit code to signal.


[View source]