@ptkdev/all-shields-cli
Version:
Tool to help automate your badges of shields.io, badgen.net, fury.io, github action and snyk.io from .all-shieldsrc dotfile for your markdown files. You can use Liquid variables like {{name}} or {{version}} which refer to your package.json. Inspired by al
30 lines (29 loc) • 477 B
TypeScript
/**
* Error Interface
* =====================
*
* Generic error types
*
* @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)
*
* @license: MIT License
*
*/
/**
* Show Error
* =====================
*
* Error Description
*
* @param {string} error - catch error
*
*/
export interface ErrorInterface {
/**
* Error
* =====================
* Get error description from catch(err)
*
*/
error?: string;
}