SocketError.setSock

Queries and resets errno and sets the exception parameters.

  1. typeof(this) setSock(int errnum, istring msg, istring file, int line)
    class SocketError
    typeof(this)
    setSock
    (
    lazy int errnum
    ,,
    istring file = __FILE__
    ,
    int line = __LINE__
    )
  2. typeof(this) setSock(istring msg, istring file, int line)

Parameters

msg istring

message

file istring

source code file name

line int

source code line

Return Value

Type: typeof(this)

this instance

Meta