// Note, you can use StdResult in some functions where you do not
// make use of the custom errors
Note, you can use StdResult in some functions where you do not
make use of the custom errors
Note you can use StdResult in some functions where you do not make use of the custom errors
pub fn init<S: Storage, A: Api, Q: Querier>(
    deps: &mut Extern<S, A, Q>,
    _env: Env,
    info: MessageInfo,
    msg: InitMsg,
) -> StdResult<InitResponse> {
    // let state = State {
    //     neural_network: None
    //     owner: deps.api.canonical_address(&info.sender)?,
    // };
    // config(&mut deps.storage).save(&state)?;
    Ok(InitResponse::default())
}
pub fn init < S : Storage , A : Api , Q : Querier > ( deps : & mut Extern < S , A , Q > , _env : Env , info : MessageInfo , msg : InitMsg , ) -> StdResult < InitResponse > { // let state = State { //     neural_network: None //     owner: deps.api.canonical_address(&info.sender)?, // }; // config(&mut deps.storage).save(&state)?; Ok ( InitResponse :: default ( ) ) }
Note, you can use StdResult in some functions where you do not
make use of the custom errors
Note you can use StdResult in some functions where you do not make use of the custom errors
deps
&mut Extern<S, A, Q>
_env
Env
info
MessageInfo
msg
InitMsg