Creating Custom Errors in TypeScript - Effect Community