2021-04-06 22:35:37 +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 (_c "fmt";_ce "golang.org/x/xerrors";);func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _gc ,_ff :=err .(*processError );_ff {_gc ._de ="";};_bc :=_b (_c .Sprintf (message ,arguments ...),processName );
_bc ._a =err ;return _bc ;};func (_fd *processError )Unwrap ()error {return _fd ._a };func _b (_aa ,_fg string )*processError {return &processError {_de :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_g :_aa ,_fa :_fg };};func Error (processName ,message string )error {return _b (message ,processName )};
var _ _ce .Wrapper =(*processError )(nil );func Wrap (err error ,processName ,message string )error {if _ee ,_ad :=err .(*processError );_ad {_ee ._de ="";};_dc :=_b (message ,processName );_dc ._a =err ;return _dc ;};func (_e *processError )Error ()string {var _fc string ;
if _e ._de !=""{_fc =_e ._de ;};_fc +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_e ._fa ;if _e ._g !=""{_fc +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_e ._g ;};if _e ._a !=nil {_fc +="\u002e\u0020"+_e ._a .Error ();};return _fc ;
};func Errorf (processName ,message string ,arguments ...interface{})error {return _b (_c .Sprintf (message ,arguments ...),processName );};type processError struct{_de string ;_fa string ;_g string ;_a error ;};