ResponseWithInternalServerError extension
- on
Methods
-
internalServerError(
{Object? data, Object? exception}) → Future< void> -
use
data
=> if you want to add more details to the client side use it useexception
=> if you want to display the exceptionBUT
! it will be sent to client side in debug mode only