Skip to content

Commit dfdbe91

Browse files
authored
Merge pull request #48 from creatubbles/fix/error-model
Remove source field from Error model
2 parents 5c7e2f1 + aa62f2f commit dfdbe91

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • api/src/main/java/com/creatubbles/api/exception

api/src/main/java/com/creatubbles/api/exception/Error.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
public class Error {
77
private Integer status;
88
private String code;
9-
private String source;
109
private String title;
1110
private String detail;
1211

@@ -18,10 +17,6 @@ public String getCode() {
1817
return code;
1918
}
2019

21-
public String getSource() {
22-
return source;
23-
}
24-
2520
public String getTitle() {
2621
return title;
2722
}
@@ -35,7 +30,6 @@ public String toString() {
3530
return "Error{" +
3631
"status=" + status +
3732
", code='" + code + '\'' +
38-
", source='" + source + '\'' +
3933
", title='" + title + '\'' +
4034
", detail='" + detail + '\'' +
4135
'}';

0 commit comments

Comments
 (0)