public method LoginError.create

Overview

Creates a new instance of the login error class

Declaration

function create(code, message)
public static LoginError create(int code, String message);
public static LoginError create(int code, string message);

Parameters

Name Description
code The login error code
message The login error message

Returns

The method returns an instance of the LoginError class after setting its attributes code and message

Details

Declared in LoginError