enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
Close #24104 This also introduces many tests to cover many complex error handling functions. ### Before The details are never shown in production. <details>  </details> ### After The details could be shown to site admin users. It is safe. 