refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -62,7 +62,7 @@ export class ServiceError extends Error {
|
||||
/**
|
||||
* `retryable` defaults to the code-derived value for callers that
|
||||
* construct a `ServiceError` directly. Pass it explicitly when relaying a
|
||||
* wire result: the transport already computed the authoritative value
|
||||
* wrn result: the transport already computed the authoritative value
|
||||
* (e.g. a bounded HTTP-status check), and recomputing it here from the
|
||||
* code alone would silently flip it — `RPC_TRANSPORT` derives to `true`,
|
||||
* even for a non-retryable 403.
|
||||
@@ -75,7 +75,7 @@ export class ServiceError extends Error {
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert to a wire result. The message is replaced unless explicitly
|
||||
* Convert to a wrn result. The message is replaced unless explicitly
|
||||
* exposed: a handler's error text routinely names tables, hosts, or
|
||||
* credentials, and this value crosses an app boundary.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user