mirror of
https://github.com/certd/certd.git
synced 2026-04-14 04:20:52 +08:00
10 lines
217 B
JavaScript
10 lines
217 B
JavaScript
import { AbstractPlugin } from '@certd/api'
|
|
|
|
export class AbstractAliyunPlugin extends AbstractPlugin {
|
|
checkRet (ret) {
|
|
if (ret.code != null) {
|
|
throw new Error('执行失败:', ret.Message)
|
|
}
|
|
}
|
|
}
|