mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
8 lines
201 B
Ruby
8 lines
201 B
Ruby
module KernAux
|
|
DEFAULT_ASSERT_CB = @assert_cb = lambda { |file, line, msg|
|
|
raise AssertError, "#{file}:#{line}:#{msg}"
|
|
}
|
|
|
|
class Error < RuntimeError; end
|
|
class AssertError < Error; end
|
|
end
|