2021-10-22 10:53:20 +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 (_d "fmt";_g "golang.org/x/xerrors";);func Errorf (processName ,message string ,arguments ...interface{})error {return _ca (_d .Sprintf (message ,arguments ...),processName );};func Error (processName ,message string )error {return _ca (message ,processName )};
func (_c *processError )Error ()string {var _ee string ;if _c ._db !=""{_ee =_c ._db ;};_ee +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_c ._b ;if _c ._dbc !=""{_ee +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_c ._dbc ;};if _c ._a !=nil {_ee +="\u002e\u0020"+_c ._a .Error ();
};return _ee ;};func (_gc *processError )Unwrap ()error {return _gc ._a };func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _ga ,_ad :=err .(*processError );_ad {_ga ._db ="";};_ae :=_ca (_d .Sprintf (message ,arguments ...),processName );
_ae ._a =err ;return _ae ;};type processError struct{_db string ;_b string ;_dbc string ;_a error ;};func Wrap (err error ,processName ,message string )error {if _f ,_bg :=err .(*processError );_bg {_f ._db ="";};_gd :=_ca (message ,processName );_gd ._a =err ;
return _gd ;};func _ca (_eea ,_da string )*processError {return &processError {_db :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_dbc :_eea ,_b :_da };};var _ _g .Wrapper =(*processError )(nil );