setError method

void setError(
  1. dynamic error
)

Sets the error for the Controller

Implementation

void setError(error) => setErrorFor(typeName, error);