import { text } from '@rsdk/common'; import { ExceptionsProps, PipelineException } from '../../base'; import { Exception } from '../../metadata'; import { ExceptionKind } from '../../types'; @Exception({ description: text` General InternalException. Something happened which was caused by internal problems (user did everything right). Will be translated into 500 (Internal) in HTTP or into 13 (INTERNAL) in gRPC context. `, }) export class InternalException extends PipelineException { constructor(message: string, props: ExceptionsProps = {}) { super(ExceptionKind.INTERNAL, message, props); } }