import Error from "./Error"; declare namespace openfl.errors { /** * The ArgumentError class represents an error that occurs when the arguments * supplied in a function do not match the arguments defined for that function. * This error occurs, for example, when a function is called with the wrong * number of arguments, an argument of the incorrect type, or an invalid * argument. * */ export class ArgumentError extends Error { /** * Creates an ArgumentError object. * */ constructor(message?: string); } } export default openfl.errors.ArgumentError;