export function inspectError(e: unknown): string {
  return (e instanceof Error ? e.stack ?? e.message : "" + e).trimEnd();
}
