Skip to content

Commit

Permalink
Changing InvalidInState to Constraint Error (#31351)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmAmbalkar authored Jan 11, 2024
1 parent 30ebce4 commit 11d4c3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Status MatterLaundryDryerControlsClusterServerPreAttributeChangedCallback(const
{
// Can't find the attribute to be written in the supported list (CHIP_ERROR_PROVIDER_LIST_EXHAUSTED)
// Or can't get the correct supported list
return Status::InvalidInState;
return Status::ConstraintError;
}
static_assert(sizeof(DrynessLevelEnum) == sizeof(*value), "Enum size doesn't match parameter size");
if (supportedDryness == static_cast<DrynessLevelEnum>(*value))
Expand Down

0 comments on commit 11d4c3a

Please sign in to comment.