forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
19
Kha/Tools/linux_arm64/std/eval/luv/LuvException.hx
Normal file
19
Kha/Tools/linux_arm64/std/eval/luv/LuvException.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package eval.luv;
|
||||
|
||||
/**
|
||||
Exceptions thrown by functions in `eval.luv` package.
|
||||
**/
|
||||
class LuvException extends haxe.Exception {
|
||||
/**
|
||||
The error.
|
||||
**/
|
||||
public final error:UVError;
|
||||
|
||||
/**
|
||||
Instantiates an error with given message and position.
|
||||
**/
|
||||
public function new(error:UVError, ?message:String, ?previous:haxe.Exception) {
|
||||
super(message == null ? error.toString() : message, previous);
|
||||
this.error = error;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user