/// Custom exception for edge function errors
class EdgeFunctionException implements Exception {
  final String code;
  final String message;
  final dynamic details;

  EdgeFunctionException({
    required this.code,
    required this.message,
    this.details,
  });

  @override
  String toString() => 'EdgeFunctionException: $message (code: $code)';
}
