mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
15 lines
436 B
Ruby
15 lines
436 B
Ruby
##
|
|
# Binding to [libkernaux](https://github.com/tailix/libkernaux) - auxiliary
|
|
# library for kernel development.
|
|
#
|
|
module KernAux
|
|
DEFAULT_ASSERT_CB = @assert_cb = lambda { |file, line, msg|
|
|
raise AssertError, "#{file}:#{line}:#{msg}"
|
|
}
|
|
|
|
class Error < RuntimeError; end
|
|
class AssertError < Error; end
|
|
class CmdlineError < Error; end
|
|
class InvalidNtoaBaseError < Error; end
|
|
class TooLongNtoaPrefixError < Error; end
|
|
end
|