* fix: Handle HTTP errors in FromResponseParts
Check for non-success status codes before attempting to decode response
parts. For error responses, parse the JSON error payload and convert it
to a ServerFnError::ServerError.
Also make ErrorPayload fields pub(crate) to allow internal access.
* fixed test name