# to-error **Repository Path**: mirrors_stevemao/to-error ## Basic Information - **Project Name**: to-error - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > Turn anything to error ```ts import toError from 'to-error' const err = toError(['err1', 'err2']) ```