-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Add try
mark to .code-samples.meilisearch.yml
where it's needed:
example:
let client = MeiliSearch(host: "http://localhost:7700", apiKey: "apiKey")
new:
let client = try MeiliSearch(host: "http://localhost:7700", apiKey: "apiKey")
because the MeiliSearch constructor can throw an error if the host is invalid.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers