debug

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package debug provides debugging utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProgrammerError

func ProgrammerError(msg string) string

ProgrammerError is raised when a condition arises that absolutely should not happen unless one of the compiler authors screwed up royally. Represented as a string to distinguish it from proper errors.

func ProgrammerErrorf added in v0.3.0

func ProgrammerErrorf(format string, a ...any) string

ProgrammerErrorf is a formatted version of ProgrammerError.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL