"Err": {
"prefix": "ee",
"body": [
"const ${1:errorName}_ = Schema.struct({ _tag: Schema.literal('${1:errorName}') })",
"export interface ${1:errorName} extends Schema.To<typeof ${1:errorName}_> {}",
"export const ${1:errorName}: Schema.Schema<${1:errorName}> = Schema.to(${1:errorName}_)$0"
],
"description": "Generic error template"
}
"Err": {
"prefix": "ee",
"body": [
"const ${1:errorName}_ = Schema.struct({ _tag: Schema.literal('${1:errorName}') })",
"export interface ${1:errorName} extends Schema.To<typeof ${1:errorName}_> {}",
"export const ${1:errorName}: Schema.Schema<${1:errorName}> = Schema.to(${1:errorName}_)$0"
],
"description": "Generic error template"
}