mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-13 19:02:15 +01:00
minor refactoring of const + better timeout handling in pinter package + api package tests
This commit is contained in:
@@ -64,7 +64,7 @@ func Code(err error) string {
|
||||
return Internal
|
||||
}
|
||||
|
||||
const defaultMessage = "an internal error has occurred: please contact technical support"
|
||||
const defaultMessage string = "an internal error has occurred: please contact technical support"
|
||||
|
||||
// Message returns the human-readable message of the error, if available.
|
||||
// Otherwise returns a generic error message.
|
||||
|
||||
Reference in New Issue
Block a user