aboutsummaryrefslogtreecommitdiff
path: root/unipdf/internal/jbig2/errors/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'unipdf/internal/jbig2/errors/errors.go')
-rw-r--r--unipdf/internal/jbig2/errors/errors.go16
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