2022-06-27 19:58:38 +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";_ee "golang.org/x/xerrors";);func (_a *processError )Unwrap ()error {return _a ._bg };func Errorf (processName ,message string ,arguments ...interface{})error {return _bf (_e .Sprintf (message ,arguments ...),processName );
};var _ _ee .Wrapper =(*processError )(nil );func Error (processName ,message string )error {return _bf (message ,processName )};func (_ag *processError )Error ()string {var _d string ;if _ag ._b !=""{_d =_ag ._b ;};_d +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_ag ._be ;
if _ag ._f !=""{_d +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_ag ._f ;};if _ag ._bg !=nil {_d +="\u002e\u0020"+_ag ._bg .Error ();};return _d ;};type processError struct{_b string ;_be string ;_f string ;_bg error ;};func _bf (_fg ,_fc string )*processError {return &processError {_b :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_f :_fg ,_be :_fc };
};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _ec ,_fcd :=err .(*processError );_fcd {_ec ._b ="";};_fd :=_bf (_e .Sprintf (message ,arguments ...),processName );_fd ._bg =err ;return _fd ;};func Wrap (err error ,processName ,message string )error {if _de ,_af :=err .(*processError );
_af {_de ._b ="";};_bb :=_bf (message ,processName );_bb ._bg =err ;return _bb ;};