class http\Exception\BadMethodCallException extends BadMethodCallException implements http\Exception

A method was called on an object, which was in an invalid or unexpected state.