2022-09-10 15:35:04 +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 (_g "fmt";_d "golang.org/x/xerrors";);type processError struct{_a string ;_de string ;_ae string ;_c error ;};func (_fe *processError )Error ()string {var _ge string ;if _fe ._a !=""{_ge =_fe ._a ;};_ge +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_fe ._de ;
if _fe ._ae !=""{_ge +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_fe ._ae ;};if _fe ._c !=nil {_ge +="\u002e\u0020"+_fe ._c .Error ();};return _ge ;};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _fd ,_fdb :=err .(*processError );
_fdb {_fd ._a ="";};_ab :=_cb (_g .Sprintf (message ,arguments ...),processName );_ab ._c =err ;return _ab ;};func Wrap (err error ,processName ,message string )error {if _b ,_fc :=err .(*processError );_fc {_b ._a ="";};_bg :=_cb (message ,processName );
_bg ._c =err ;return _bg ;};func Error (processName ,message string )error {return _cb (message ,processName )};func _cb (_cd ,_gea string )*processError {return &processError {_a :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_ae :_cd ,_de :_gea };
};func Errorf (processName ,message string ,arguments ...interface{})error {return _cb (_g .Sprintf (message ,arguments ...),processName );};func (_eb *processError )Unwrap ()error {return _eb ._c };var _ _d .Wrapper =(*processError )(nil );