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