package errscreen

import "golang.org/x/exp/shiny/driver/internal/errscreen"

Package errscreen provides a stub Screen implementation.

Index

Functions

func Stub

func Stub(err error) screen.Screen

Stub returns a Screen whose methods all return the given error.

Source Files

errscreen.go

Version
v0.0.0-20250218142911-aa4b98e5adaa (latest)
Published
Feb 18, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 month ago

Tools for package owners.