class InvalidArgumentException extends Exception (View source)

Methods

create(int $argument, string $type)

Creates a new exception for an invalid argument.

Details

static InvalidArgumentException create(int $argument, string $type)

Creates a new exception for an invalid argument.

Parameters

int $argument
string $type

Return Value

InvalidArgumentException

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.