Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function doRequest(Model $model, array|string|object $input, array $opti
}
}

throw new RuntimeException('No response factory found for the given model');
throw new RuntimeException('No response factory registered for model "'.$model::class.'" with given input.');
}

/**
Expand All @@ -81,6 +81,6 @@ private function convertResponse(Model $model, object|array|string $input, HttpR
}
}

throw new RuntimeException('No response converter found for the given model');
throw new RuntimeException('No response converter registered for model "'.$model::class.'" with given input.');
}
}
Loading