// // 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 (_a "fmt";_d "golang.org/x/xerrors";);func _gg (_ee ,_eg string )*processError {return &processError {_cb :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_g :_ee ,_be :_eg };};func Errorf (processName ,message string ,arguments ...interface{})error {return _gg (_a .Sprintf (message ,arguments ...),processName ); };type processError struct{_cb string ;_be string ;_g string ;_bg error ;};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _dg ,_ge :=err .(*processError );_ge {_dg ._cb ="";};_df :=_gg (_a .Sprintf (message ,arguments ...),processName ); _df ._bg =err ;return _df ;};func Wrap (err error ,processName ,message string )error {if _de ,_ad :=err .(*processError );_ad {_de ._cb ="";};_f :=_gg (message ,processName );_f ._bg =err ;return _f ;};func (_aa *processError )Error ()string {var _e string ; if _aa ._cb !=""{_e =_aa ._cb ;};_e +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_aa ._be ;if _aa ._g !=""{_e +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_aa ._g ;};if _aa ._bg !=nil {_e +="\u002e\u0020"+_aa ._bg .Error ();};return _e ; };var _ _d .Wrapper =(*processError )(nil );func (_bc *processError )Unwrap ()error {return _bc ._bg };func Error (processName ,message string )error {return _gg (message ,processName )};