diff options
| author | leshe4ka46 <alex9102naid1@ya.ru> | 2025-10-19 14:47:59 +0300 |
|---|---|---|
| committer | leshe4ka46 <alex9102naid1@ya.ru> | 2025-10-19 14:47:59 +0300 |
| commit | e17a425dfb3382310fb5863f516dacdca9f44956 (patch) | |
| tree | 7babb3048d0eb20aa1e68e9b29c2acfa794ab96f /unipdf/internal/jbig2/errors | |
| parent | 091963a50c3bb2926f559f01c49e8f5bd03d2bfd (diff) | |
fuck the unipdf licencing
Diffstat (limited to 'unipdf/internal/jbig2/errors')
| -rw-r--r-- | unipdf/internal/jbig2/errors/errors.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/unipdf/internal/jbig2/errors/errors.go b/unipdf/internal/jbig2/errors/errors.go new file mode 100644 index 0000000..5b4b265 --- /dev/null +++ b/unipdf/internal/jbig2/errors/errors.go @@ -0,0 +1,16 @@ +// +// 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 (_d "fmt";_da "golang.org/x/xerrors";);func (_de *processError )Error ()string {var _dfg string ;if _de ._e !=""{_dfg =_de ._e ;};_dfg +="\u0050r\u006f\u0063\u0065\u0073\u0073\u003a "+_de ._dc ;if _de ._eb !=""{_dfg +="\u0020\u004d\u0065\u0073\u0073\u0061\u0067\u0065\u003a\u0020"+_de ._eb ; +};if _de ._g !=nil {_dfg +="\u002e\u0020"+_de ._g .Error ();};return _dfg ;};func (_df *processError )Unwrap ()error {return _df ._g };var _ _da .Wrapper =(*processError )(nil );func Error (processName ,message string )error {return _b (message ,processName )}; +func Errorf (processName ,message string ,arguments ...interface{})error {return _b (_d .Sprintf (message ,arguments ...),processName );};func _b (_gf ,_ag string )*processError {return &processError {_e :"\u005b\u0055\u006e\u0069\u0050\u0044\u0046\u005d",_eb :_gf ,_dc :_ag }; +};type processError struct{_e string ;_dc string ;_eb string ;_g error ;};func Wrap (err error ,processName ,message string )error {if _ec ,_f :=err .(*processError );_f {_ec ._e ="";};_c :=_b (message ,processName );_c ._g =err ;return _c ;};func Wrapf (err error ,processName ,message string ,arguments ...interface{})error {if _fd ,_ga :=err .(*processError ); +_ga {_fd ._e ="";};_ad :=_b (_d .Sprintf (message ,arguments ...),processName );_ad ._g =err ;return _ad ;};
\ No newline at end of file |
