Find an item in an array by a specific property and value. Throws an error if not found.
The array to search.
The property key to match.
The value to match.
The found item.
Find an item in an array by a specific property and value. Throws an error if not found.