(errorDescriptor: ErrorDescriptor)
| 239 | } |
| 240 | |
| 241 | function getErrorCode(errorDescriptor: ErrorDescriptor): string { |
| 242 | return `${ERROR_PREFIX}${errorDescriptor.number}`; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * This function applies error messages templates like this: |