Home / Class/ ErrGracefulTimeout Class — fiber Architecture

ErrGracefulTimeout Class — fiber Architecture

Architecture documentation for the ErrGracefulTimeout class in error.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  81a645f1_c024_6d02_77df_09b96973412d["ErrGracefulTimeout"]
  d39e01b3_c233_6568_8cf9_3e8674531eab["error.go"]
  81a645f1_c024_6d02_77df_09b96973412d -->|defined in| d39e01b3_c233_6568_8cf9_3e8674531eab

Relationship Graph

Source Code

error.go lines 15–25

var (
	ErrGracefulTimeout = errors.New("shutdown: graceful timeout has been reached, exiting")
	// ErrNotRunning indicates that a Shutdown method was called when the server was not running.
	ErrNotRunning = errors.New("shutdown: server is not running")
	// ErrHandlerExited is returned by App.Test if a handler panics or calls runtime.Goexit().
	ErrHandlerExited = errors.New("runtime.Goexit() called in handler or server panic")
	// ErrNoViewEngineConfigured indicates that a helper requiring a view engine was invoked without one configured.
	ErrNoViewEngineConfigured = errors.New("fiber: no view engine configured")
	// ErrAutoCertWithCertFile indicates AutoCertManager cannot be used with CertFile/CertKeyFile.
	ErrAutoCertWithCertFile = errors.New("tls: AutoCertManager cannot be combined with CertFile/CertKeyFile")
)

Defined In

Frequently Asked Questions

What is the ErrGracefulTimeout class?
ErrGracefulTimeout is a class in the fiber codebase, defined in error.go.
Where is ErrGracefulTimeout defined?
ErrGracefulTimeout is defined in error.go at line 15.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free