public function find($imageIdOrAlbumId)
    {
        try {
            return $this->get('image/' . $imageIdOrAlbumId);
        } catch (ExceptionInterface $e) {
            if (404 !== $e->getCode()) {
                throw $e;
            }
        }

        try {
            return $this->get('album/' . $imageIdOrAlbumId);
        } catch (ExceptionInterface $e) {
            if (404 !== $e->getCode()) {
                throw $e;
            }
        }

        throw new ErrorException('Unable to find an album OR an image with the id, ' . $imageIdOrAlbumId);
    }