2022-02-05 21:34:53 +00:00

16 lines
1.7 KiB
Go

//
// Copyright 2020 FoxyUtils ehf. All rights reserved.
//
// This is a commercial product and requires a license to operate.
// A trial license can be obtained at https://unidoc.io
//
// DO NOT EDIT: generated by unitwist Go source code obfuscator.
//
// Use of this source code is governed by the UniDoc End User License Agreement
// terms that can be accessed at https://unidoc.io/eula/
package errors ;import (_b "fmt";_e "golang.org/x/xerrors";);func Error (processName ,message string )error {return _fg (message ,processName )};func _fg (_cb ,_ea string )*processError {return &processError {_f :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_g :_cb ,_bd :_ea };
};func (_ccc *processError )Error ()string {var _ccf string ;if _ccc ._f !=""{_ccf =_ccc ._f ;};_ccf +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_ccc ._bd ;if _ccc ._g !=""{_ccf +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_ccc ._g ;
};if _ccc ._cc !=nil {_ccf +="\u002e\u0020"+_ccc ._cc .Error ();};return _ccf ;};func Errorf (processName ,message string ,arguments ...interface{})error {return _fg (_b .Sprintf (message ,arguments ...),processName );};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _ge ,_fga :=err .(*processError );
_fga {_ge ._f ="";};_ce :=_fg (_b .Sprintf (message ,arguments ...),processName );_ce ._cc =err ;return _ce ;};var _ _e .Wrapper =(*processError )(nil );func Wrap (err error ,processName ,message string )error {if _fd ,_eac :=err .(*processError );_eac {_fd ._f ="";
};_ccd :=_fg (message ,processName );_ccd ._cc =err ;return _ccd ;};func (_fb *processError )Unwrap ()error {return _fb ._cc };type processError struct{_f string ;_bd string ;_g string ;_cc error ;};