Raised when providing an invalid string from an object id.
Create the new error.
@example Create the new error.
InvalidObjectId.new("test")
@param [ String ] string The provided id.
@since 1.0.0
[Validate]