Skip to content

Commit f165aa2

Browse files
committed
updated ErrorReport class
1 parent 4189f93 commit f165aa2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

api/src/main/java/com/messagebird/objects/ErrorReport.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
package com.messagebird.objects;
22

33
import com.fasterxml.jackson.annotation.JsonInclude;
4+
5+
import java.io.Serializable;
6+
47
/**
58
* When MessageBird returns a 4xx, you will find a list of any error codes in your return dataset.
69
* you will receive a list of errors from the API in such case.
710
*
811
* Created by rvt on 1/5/15.
912
*/
1013
@JsonInclude(JsonInclude.Include.NON_EMPTY)
11-
public class ErrorReport {
14+
public class ErrorReport implements Serializable {
15+
16+
private static final long serialVersionUID = -8611665867089703268L;
17+
1218
private Integer code;
1319
private String description;
1420
private String parameter;

0 commit comments

Comments
 (0)