CorextraCustomException constructor

const CorextraCustomException({
  1. String? code,
  2. String? message,
  3. Map<String, dynamic>? details,
})

Implementation

const CorextraCustomException({
  String? code,
  String? message,
  super.details, // <- super parameter
}) : super(
       code: code ?? 'CUSTOM_ERROR',
       message: message ?? 'Something went wrong!',
     );