Skip to content

Commit

Permalink
Use latest spec
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 31, 2024
1 parent 21403d0 commit 49ff1f0
Show file tree
Hide file tree
Showing 2 changed files with 2,176 additions and 1,181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public final ErrorCause causedBy() {
}

/**
* A human-readable explanation of the error, in english
* A human-readable explanation of the error, in English.
* <p>
* API name: {@code reason}
* </p>
Expand All @@ -127,7 +127,7 @@ public final List<ErrorCause> rootCause() {
}

/**
* The server stack trace. Present only if the <code>error_trace=true</code> parameter was sent with the request.
* The server stack trace, present only if the <code>error_trace=true</code> parameter was sent with the request.
* <p>
* API name: {@code stack_trace}
* </p>
Expand All @@ -146,7 +146,7 @@ public final List<ErrorCause> suppressed() {
}

/**
* Required - The type of error
* Required - The type of error.
* <p>
* API name: {@code type}
* </p>
Expand All @@ -157,7 +157,7 @@ public final String type() {
}

/**
* Additional details about the error.
* Any additional information about the error.
*/
@Nonnull
public final Map<String, JsonData> metadata() {
Expand Down Expand Up @@ -252,7 +252,7 @@ public final Builder causedBy(Function<ErrorCause.Builder, ObjectBuilder<ErrorCa
}

/**
* A human-readable explanation of the error, in english
* A human-readable explanation of the error, in English.
* <p>
* API name: {@code reason}
* </p>
Expand Down Expand Up @@ -298,7 +298,7 @@ public final Builder rootCause(Function<ErrorCause.Builder, ObjectBuilder<ErrorC
}

/**
* The server stack trace. Present only if the <code>error_trace=true</code> parameter was sent with the request.
* The server stack trace, present only if the <code>error_trace=true</code> parameter was sent with the request.
* <p>
* API name: {@code stack_trace}
* </p>
Expand Down Expand Up @@ -344,7 +344,7 @@ public final Builder suppressed(Function<ErrorCause.Builder, ObjectBuilder<Error
}

/**
* Required - The type of error
* Required - The type of error.
* <p>
* API name: {@code type}
* </p>
Expand All @@ -355,7 +355,7 @@ public final Builder type(String value) {
}

/**
* Additional details about the error.
* Any additional information about the error.
*
* <p>
* Adds all elements of <code>map</code> to <code>metadata</code>.
Expand All @@ -367,7 +367,7 @@ public final Builder metadata(Map<String, JsonData> map) {
}

/**
* Additional details about the error.
* Any additional information about the error.
*
* <p>
* Adds an entry to <code>metadata</code>.
Expand Down
Loading

0 comments on commit 49ff1f0

Please sign in to comment.