{"modulePath":"code.cloudfoundry.org/gorouter","version":"v0.0.0-20250429140807-a602bb6a6243","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errorwriter\n\n## Types\n\n```go\ntype ErrorWriter interface {\n\tWriteError(\n\t\trw http.ResponseWriter,\n\t\tcode int,\n\t\tmessage string,\n\t\tlogger *slog.Logger,\n\t)\n}\n```\n\n```go\nfunc NewHTMLErrorWriterFromFile(path string) (ErrorWriter, error)\n```\n\n```go\nfunc NewPlaintextErrorWriter() ErrorWriter\n```\n\n","path":"code.cloudfoundry.org/gorouter/errorwriter","name":"errorwriter","synopsis":"","isRedistributable":true}
