init - add project files
This commit is contained in:
8
tools/jet-2.12.0/internal/utils/throw/throw.go
Normal file
8
tools/jet-2.12.0/internal/utils/throw/throw.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package throw
|
||||
|
||||
// OnError will panic if err is not nill
|
||||
func OnError(err error) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user