v0.0.510
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 4m24s

This commit is contained in:
2024-09-13 18:06:49 +02:00
parent 3a17edfaf0
commit a1668b6e5a
5 changed files with 56 additions and 11 deletions

View File

@@ -12,6 +12,8 @@ import (
var reflectTypeStr = reflect.TypeOf("")
func FromError(err error) *ExErr {
//goland:noinspection GoTypeAssertionOnErrors
if verr, ok := err.(*ExErr); ok {
// A simple ExErr
return verr