mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-02-04 03:45:48 +08:00
2 lines
247 B
JavaScript
2 lines
247 B
JavaScript
class o extends Error{constructor(r){super(r);this.name="AssertError"}}function t(n,r){if(n==null||n==null)throw new o(r)}function s(n,r){if(n==null||n==null||n=="")throw new o(r)}function e(n,r){if(!n)throw new o(r)}export{t as a,e as i,s as n};
|