Skip to content

package debug

import "kaiju/debug"

Variables

NotImplementedError

errors.New("not implemented")

Functions

Assert

func Assert(res bool, msg string)

Ensure

func Ensure(res bool)

EnsureMsg

func EnsureMsg(res bool, msg string)

EnsureNotError

func EnsureNotError(err error)

EnsureNotNil

func EnsureNotNil(target any)

Halt

func Halt(msg string)

Log

func Log(msg string, args ...any)

ThrowNotImplemented

func ThrowNotImplemented(todo string)