Discover Packages
github.com/MontFerret/wire
server
internal
panicboundary
package
Version:
v1.0.0-alpha.1
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package panicboundary contains panics raised by externally supplied
implementations at an explicit call boundary.
Call invokes fn and converts a panic into an Error and the zero value of T.
Do invokes fn and converts a panic into an Error.
type Error struct {
Value any
Stack []byte
}
Error records a panic value and the stack captured while recovering it.
The panic value is deliberately not exposed through error unwrapping because
a panic is an implementation failure, not an ordinary returned error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.