blob: c66401a19b15d736d0e0de3e667af9b71d39afd7 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_TESTING_NSERROR_UTIL_H_
#define IOS_TESTING_NSERROR_UTIL_H_
@class NSError;
@class NSString;
namespace testing {
// Returns a NSError with generic domain and error code, and the provided string
// as localizedDescription.
NSError* NSErrorWithLocalizedDescription(NSString* error_description);
} // namespace testing
#endif // IOS_TESTING_NSERROR_UTIL_H_