Skip to content

Instantly share code, notes, and snippets.

@Kureev
Created October 1, 2020 15:13
Show Gist options
  • Save Kureev/302d12929b34c22b484cd2f3c851727f to your computer and use it in GitHub Desktop.
Save Kureev/302d12929b34c22b484cd2f3c851727f to your computer and use it in GitHub Desktop.
How to initialize Flex with an `errorPage`
Flex
.provideLoginInfo(configuration, "#container")
.then(() => Flex.Manager.create(configuration))
.then(manager => { /* use manager here */ })
.catch(error => Flex.errorPage(error, "#container"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment