Throw error if unsupported.