File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
src/main/java/com/merge/api/core Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
README.md
4
4
LICENSE.md
5
+
6
+ src/main/java/com/merge/api/core/ApiError.java
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ publishing {
46
46
maven(MavenPublication ) {
47
47
groupId = ' dev.merge'
48
48
artifactId = ' merge-java-client'
49
- version = ' v1.0.13 '
49
+ version = ' v1.0.14 '
50
50
from components. java
51
51
pom {
52
52
scm {
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ package com .merge .api .core ;
5
+
6
+ public final class ApiError extends RuntimeException {
7
+ private final int statusCode ;
8
+
9
+ private final Object body ;
10
+
11
+ public ApiError (int statusCode , Object body ) {
12
+ this .statusCode = statusCode ;
13
+ this .body = body ;
14
+ }
15
+
16
+ public int statusCode () {
17
+ return this .statusCode ;
18
+ }
19
+
20
+ public Object body () {
21
+ return this .body ;
22
+ }
23
+
24
+ @ java .lang .Override
25
+ public String toString () {
26
+ return "ApiError{" + "statusCode: " + statusCode + ", body: " + body + "}" ;
27
+ }
28
+ }
You can’t perform that action at this time.
0 commit comments