faultstatus

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package faultstatus contains Credo's default HTTP transport policy for transport-neutral semantic faults.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTP

func HTTP(kind fault.Kind) (int, bool)

HTTP maps a semantic fault kind to Credo's default HTTP status. Unknown kinds are deliberately left unmapped so callers can fail closed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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