2021-06-21 14:01:56 +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 (_e "fmt";_f "golang.org/x/xerrors";);func Errorf (processName ,message string ,arguments ...interface{})error {return _eg (_e .Sprintf (message ,arguments ...),processName );};type processError struct{_ca string ;_ef string ;_d string ;
_fbc error ;};func (_cf *processError )Unwrap ()error {return _cf ._fbc };func (_db *processError )Error ()string {var _g string ;if _db ._ca !=""{_g =_db ._ca ;};_g +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_db ._ef ;if _db ._d !=""{_g +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_db ._d ;
};if _db ._fbc !=nil {_g +="\u002e\u0020"+_db ._fbc .Error ();};return _g ;};func Error (processName ,message string )error {return _eg (message ,processName )};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _ba ,_a :=err .(*processError );
_a {_ba ._ca ="";};_fba :=_eg (_e .Sprintf (message ,arguments ...),processName );_fba ._fbc =err ;return _fba ;};func _eg (_b ,_gf string )*processError {return &processError {_ca :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_d :_b ,_ef :_gf };
};func Wrap (err error ,processName ,message string )error {if _ec ,_de :=err .(*processError );_de {_ec ._ca ="";};_gg :=_eg (message ,processName );_gg ._fbc =err ;return _gg ;};var _ _f .Wrapper =(*processError )(nil );