Skip to content

Commit

Permalink
Changing InvalidInState to Constraint Error
Browse files Browse the repository at this point in the history
  • Loading branch information
OmAmbalkar committed Jan 10, 2024
1 parent caea3ec commit badbf40
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 badbf40

Please sign in to comment.