ModulaErrorState.accessDenied constructor
Implementation
factory ModulaErrorState.accessDenied({
String? title,
String? description,
Widget? action,
}) {
return ModulaErrorState(
type: ModulaErrorStateType.accessDenied,
title: title ?? 'Access Denied',
description:
description ?? 'You do not have permission to access this resource.',
action: action,
);
}