Skip to content

Commit

Permalink
fix the type inside cluster exception
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google committed May 24, 2023
1 parent d4ed344 commit 89979f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
public class ChipClusterException extends Exception {
private static final long serialVersionUID = 1L;

public int errorCode;
public long errorCode;

public ChipClusterException() {}

public ChipClusterException(int errorCode) {
public ChipClusterException(long errorCode) {
super(String.format("CHIP cluster error: %d", errorCode));
this.errorCode = errorCode;
}
Expand Down

0 comments on commit 89979f1

Please sign in to comment.