1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-10-30 11:54:01 -04:00
libkernaux/pkgs/mruby/mrblib/kernaux.rb

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